Page 1 of 1

PHP/Ajax Query String

Posted: Thu Jan 22, 2009 11:21 pm
by kerepuki09
Hi all,

I am wondering if someone can tell me how I can post a complete site url, including any &!@#$% etc for ajax to PHP?

Everytime I try to save a url with an & in it PHP thinks its a new variable after the & but its not.

Please help

Re: PHP/Ajax Query String

Posted: Thu Jan 22, 2009 11:48 pm
by s.dot
urlencode() in php
in javascript i believe it is encodeURIComponent()