Is there a reason you not using PHP's include method
to do this?
Rename your shtml file to have a PHP extension, replace
the SSI instructions with PHP functions. You should
be good to go.

<?
include "something.php";
?>

-Brian
***************

> -----Original Message-----
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 21, 2001 11:20 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] include virtual, file or exec cgi?
>
>
> Can't I
>
> <!--#include file="something.php"--> or
> <!--#include virtual="something.php"--> or
> <!--#exec cgi="something.php"--> ???
>
> I'm trying to, the script works fine if I load it normally, but
> as an include
> in a shtml (server parsed) file it always returns "error ocurred bla bla
> bla".
>
> What am I doing wrong?
>
>
> . [ 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