rapmonkey
01-01-2007, 10:54 PM
Hello,
I have a script that takes data from a web form, and submits the data to a PHP script using POST through AJAX. The script works successfully in all cases but one. If there is an ampersand (&) in the data being POSTed, the ampersand and all data that comes after it does not make it to the PHP script. An example of this is submitting a hyperlink with an & character in it. I haven't the slightest clue why this is happening. It's your standard AJAX script. And yes, the ampersand IS escaped, being submitted as "&". Any ideas why this may be happening?
Thanks for any help!!
I have a script that takes data from a web form, and submits the data to a PHP script using POST through AJAX. The script works successfully in all cases but one. If there is an ampersand (&) in the data being POSTed, the ampersand and all data that comes after it does not make it to the PHP script. An example of this is submitting a hyperlink with an & character in it. I haven't the slightest clue why this is happening. It's your standard AJAX script. And yes, the ampersand IS escaped, being submitted as "&". Any ideas why this may be happening?
Thanks for any help!!