Christian,
Those are SSI calls (Server Side Includes, for use with .shtml files).
Try:
include("/path/to/filename");
require("/path/to/filename");
I've never used these, but in PHP4 there are also:
include_once("/path/to/filename");
and
require_once("/path/to/filename");
(double check that I have gotten those function names right).
If you REALLY need to use something like exec cgi, I guess you could create
an shtml file with the command in, then include() or require() the shtml
file.
James.
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What is the main difference between:
> <!--#include ...
> <!--#include virtual ...
> <!--#exec cgi...
>
> the only one that seems to work for PHP files is 'include virtual'.
> 'exec cgi' as well as 'include' gives me that message 'an error ocurred
> while processing this directive'...
>
>
> --
> 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]