Even better would be to write the URL as

http://www.example.com/charts.php/wk0001-etc

and look in $_SERVER["PATH_INFO"]. This way, you can do without the "?" and 
have a search engine-friendly URL.

J


Stuart Dallas wrote:

> On 1 May 2002 at 18:39, Randum Ian wrote:
>> I want to link to a page like this:
>> 
>> http://www.danceportal.co.uk/charts.php?wk0001-fri-18-jan-2002
>> 
>> How do I get the information into a script?
> 
> The variable $_SERVER["QUERY_STRING"] will contain
> "wk0001-fri-18-jan-2002".
> 


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

Reply via email to