I have a bunch of links on one of the projects I'm working on, and they are all like this: http://www.mysite.com/a1749392.php?805 http://www.mysite.com/a1749392.php?794 http://www.mysite.com/a1749392.php?2161 http://www.mysite.com/a1749392.php?784 http://www.mysite.com/a1749392.php?815 http://www.mysite.com/a1749392.php?791 and so on and so on... Now, those are links I have into my html page, they are not generated. What I want this php file (a1749392.php) to do is simply take that number after the "?" and put it after this: http://wow.allakhazam.com/db/quest.html?wquest= Then redirect to that site (along with that number after the "?"). So for example, a user clicks on this: http://www.mysite.com/a1749392.php?791 and the PHP file redirects the user to: http://wow.allakhazam.com/db/quest.html?wquest=791 Do you see what I am saying? Is this possible? If so can somebody quickly make me this simple PHP file for me??? Thanks for any help!
I don't quite understand, but... I think you want header('Location: http:www.blah.com/db/quest.html?'. $_SERVER['QUERY_STRING'] );