Re: Error while passing parameters as path

From: Date: Sun, 26 Aug 2001 06:14:24 +0000
Subject: Re: Error while passing parameters as path
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64482@lists.php.net to get a copy of this message
Are you running PHP 3 as a CGI? Things work/don't work a bit differently in CGI mode. -Rasmus On Sun, 26 Aug 2001, Anas Mughal wrote: > All, > I read the article by John Coggeshall on building search engine friendly > pages. Now, I trying to pass my script parameters as path (instead of > "?param=value&param2=value2"). > > However, for some reason I keep on getting the following error: > > Fatal error: Unable to open > /home/mydomain/public_html/try.phtml/param1/123 in - on line 0 > No input file specified. > > This is what I run: > http://www.mydomain.com/try.phtml/param1/123 > > It seems like PHP is trying to read the file 123 at the given path. For some > reason, PHP doesn't realize the try.phtml is the script. > > I am trying this with PHP3. However, my production server is running PHP4 > and it works there. Is this a new feature in PHP4 or do I need to build PHP3 > with some configuration for this to work? > > Thank you in advance. > -- > anas mughal > > >

« previous php.general (#64482) next »