PHP/Ajax Query String

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kerepuki09
Forum Newbie
Posts: 1
Joined: Thu Jan 22, 2009 11:18 pm

PHP/Ajax Query String

Post 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
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: PHP/Ajax Query String

Post by s.dot »

urlencode() in php
in javascript i believe it is encodeURIComponent()
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply