Re: How do I use SSI with PHP
| From: | Rasmus Lerdorf | Date: | Mon, 18 Dec 2000 23:21:28 +0000 |
| Subject: | Re: How do I use SSI with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30946@lists.php.net to get a copy of this message | ||
You can't mix SSI and PHP in the same file. At least not with Apache-1.x.
Apache-2.0 will have IO layering so this should be possible. For now you
will have to convert your SSI tags to PHP tags. There is nothing you can
do with SSI that can't be done with PHP.
-Rasmus
On Mon, 18 Dec 2000, Nguyen, David M wrote:
> Can someone please show me how to enable SSI to run on APACHE with PHP?
>
> Thanks,
> David
>
> -----Original Message-----
> From: Jason Murray [mailto:Jason.Murray@melbourneit.com.au]
> Sent: Monday, December 18, 2000 3:56 PM
> To: 'Bill.Hoffman@walgreens.com'; php-general@lists.php.net
> Subject: RE: [PHP] Global Annoyance
>
>
> > I would like to have all of my variables available globally
> > unless I specify otherwise. If I wanted to make a second
> > mail function I would have to declare all of these
> > variables all over again. I have had to declare the same
> > variable 5 times in 5 different functions.
> > Let me know if anyone knows a better way to do this.
>
> Just a silly thought here, but did you think of writing the functions
> to accept input variables?
>
> Jason
>
> --
> Jason Murray
> jasonm@melbourneit.com.au
> Web Design Team, Melbourne IT
> Fetch the comfy chair!
>
> --
> 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
>
> --
> 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
>