Sorry if this has been posted before but i had no idea what this is called so here goes:
How does http://anonym.to/? get a vairable that has no name? I am particularyily interested in this as i would like to pass a URL through a variable to a php page but because the URL contains &'s PHP thinks they are more variables...
So how can i ask for entire string after the "?"?
Thanks!
Ben
[SOLVED] URL variables
Moderator: General Moderators
[SOLVED] URL variables
Last edited by benyboi on Thu Feb 07, 2008 7:29 pm, edited 1 time in total.
-
GuitarheadCA
- Forum Newbie
- Posts: 20
- Joined: Fri Jul 13, 2007 12:59 am
Re: URL variables
I don't really understand the first part of your question, but I can answer the second part.
$_SERVER['QUERY_STRING'] will pull the string of variables after the '?' from your url.
$_SERVER['QUERY_STRING'] will pull the string of variables after the '?' from your url.
Re: URL variables
Thats what i was talking about, THANK YOU!!! 