Possible URL length problem
-
Hi,
Is there a maximum length URL that wordpress can handle?
I’ve put a aweber optin email form beneath all my posts and I’m using the following php in a file in my theme files directory to spit out a message to the subscriber:-
if(isset($_GET[‘from’]))
{
$email=$_GET[‘from’];echo ‘
<p>An email has been sent to email address ‘,$email,’. Please click the link inside it now to confirm your subscription!</p>’;}
So the subscriber enters their email address, then all the form variables are appended to the post URL.
If the form just contains one input box for the email address, then the form gets processed correctly and the above “check your email” message gets displayed.
Here’s the URL that gets displayed in the browser after the webform variables are passed through:-
The problem is when I add a second input box for the user to add their first name (which I can then add to the above code to personalise the message). Then I get this message:-
“Failing URL I’m sorry, but the post or page you’re looking for could not be found.”
Now that message was written by the theme creator so perhaps I should be asking him. However the url created when this fails is about 20 characters longer than the working one:-
So I just wondered if it was a url length problem?
If anyone has any idea what’s causing this I’d be very grateful.
Thanks
Graham
- The topic ‘Possible URL length problem’ is closed to new replies.