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"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
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]

Reply via email to