Re: URL rewriting...anybody done this?

From: Date: Wed, 14 Jan 2004 21:01:34 +0000
Subject: Re: URL rewriting...anybody done this?
Groups: php.general 
Request: Send a blank email to php-general+get-174584@lists.php.net to get a copy of this message
Hey, I put this in for testing: if(isset($_GET["id"])){echo "Got \$_GET[id]<br>";}else{echo "No \$_GET[id]<br>";} if(isset($_GET["sid"])){echo "Got \$_GET[sid]<br>";}else{echo "No \$_GET[sid]<br>";} and heres the output: No $_GET[id] No $_GET[sid] So the variables are not being passed.... Any idea why and what I can do about this? (Am a total newbie here) Cheers, -Ryan On 1/14/2004 9:27:03 PM, Brad Pauly (brad@robinsontech.com) wrote: > On Wed, 2004-01-14 at 13:14, Ryan A wrote: > > Hey, > > Ok, have added "echo "Ok,we are in show.php";" and if you go to > > http://rizkhan.net/articles/show/category/1/2 or > > > > http://rizkhan.net/articles/show.php?category=poetry&sid=1&id=2 > > > > you will see that its echoing that without a problem......so this is > > partly working..... > > > > now what to do about the variables....? > > Well, are any of them in $_GET? If so, are they getting assigned to the > right place? How about putting a print_r($_GET) in show.php. > > - Brad

« previous php.general (#174584) next »