So I used $_SERVER['PHP_SELF']
and it returns jokes.php but the url itself is jokes.php?Jokes=Bar%20Jokes&?Joke=3
how do I get the full URL... alternatively I did this.
$the_url = str_replace(" ", "%20", "http://www.po2mob.com/jokes.php?Jokes=" . $_GET['Jokes'] . '&Joke=' . $_GET['Joke']);
so all " " is %20, but i get a T_VARIABLE error. any suggestions?
Getting URL
Moderator: General Moderators
-
psychotomus
- Forum Contributor
- Posts: 487
- Joined: Fri Jul 11, 2003 1:59 am