Re: SSI
| From: | Philip Olson | Date: | Sat, 22 Dec 2001 08:55:48 +0000 |
| Subject: | Re: SSI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78554@lists.php.net to get a copy of this message | ||
Things you can do:
a) rewrite SSI as PHP
b) rewrite SSI as PHP
c) try using virtual()
d) include them via http, like with file() or include() or fopen()
(a) and (b) are preferred, (c) will work as will (d) and most likely [e-z]
:) Also, search through the archives for other advice on the matter:
http://marc.theaimsgroup.com/?l=php-general&s=SSI
Essentially you can't mingle SSI/PHP code in one file as the web server
wants to parse a given extension as, in this case, PHP. PHP can do
anything SSI can do, and then a great deal more.
Read about predefined variables and include() in php manual too.
Regards,
Philip Olson
On Fri, 21 Dec 2001 steph@philedom2k.com wrote:
> if you have a PHP page and you want to use SSI in it... is there a special
> method?
>
>
> --
> 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
>