On Wednesday 26 June 2002 02:56, Harriet Xing wrote:
> Hi,
>
> Would anyone know how to get the http request url string in php?
> i.e., if the request is "http://www.myserver.com/test.php?param1=123";, how
> can I obtain this string in test.php?

Look through the $_SERVER (or $HTTP_SERVER_VARS) variable.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
The District of Columbia has a law forbidding you to exert pressure on
a balloon and thereby cause a whistling sound on the streets.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to