Re: Variable Help.

From: Date: Wed, 01 May 2002 18:32:58 +0000
Subject: Re: Variable Help.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-95559@lists.php.net to get a copy of this message
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". >

« previous php.general (#95559) next »