Re: include virtual, file or exec cgi?
| From: | Phillip Bow | Date: | Wed, 21 Mar 2001 19:22:31 +0000 |
| Subject: | Re: include virtual, file or exec cgi? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44986@lists.php.net to get a copy of this message | ||
When I first started playing with PHP I had been using SSI's. I tried to
find a way that I could get a file that contained SSI's and php to be
parsed, but I haven't seen it done. In Apache it seems like it would be as
easy as adding a handler that parses shtml files as php files, but that
causes the SSI and/or the PHP parser not to run.
--
phill
""Christian Dechery"" <lemming@vento.com.br> wrote in message
news:3AB22351000008E5@webmail.vento.com.br...
>you won't be able to use $PHP_SELF, and you will encounter problems with
>passing values via the querystring, but other than that you can use SSI
>to
>call a PHP page.
I don't really need any of this, the script is a simple 15-lines-of-code
image randomizer that shows a random image from a list. It couldn't be
simpler,
but in C it's much more code to write.
So why isn't SSI working with my PHP file? SHould it have chmod 755 or be
in a cgi directory or something like that? I tried everything...
does it make any difference if PHP runs as a DSO module or CGI for me to
use SSI??
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net