On Tue, Mar 12, 2002 at 10:32:38PM -0500, [EMAIL PROTECTED] wrote: > I have a url like this: > > http://192.168.1.2/site/add_article.php?sid=5234a0f5acea9aa245dbe9846f6ace1c > > And I need to be able to RETURN the FULL url, how would i do this? I don't > think there is any one function/variable to do this..
Combine $_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'] to get what you want. Examine the output from phpinfo() to see if there are other variables you want to use. Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php