yes, I am running as CGI.
How should that matter?
Actually, I need to run as CGI because I have customized extensiont to PHP
that my hosting company will not imbed in their PHP-Apache module. I am
totally fine with that.
Bottom line is that I need to run PHP as CGI.
Is there a way for this work in that mode?
-----Original Message-----
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 26, 2001 2:14 AM
To: Anas Mughal
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Error while passing parameters as path
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¶m2=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
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]