Hello List,
Is there a way to execute a cgi inside of php? This is what a customer wants to do:


include("<!--#exec cgi="../cgi-bin/include/horoscopes.cgi" -->");

but get an error message:

Parse error: parse error, unexpected '.' in 
D:\Inetpub\townforum\wwwroot\orgs\header.php on line 3


The manual says it won't work:
http://www.php.net/manual/en/function.include.php
"Warning 
Windows versions of PHP prior to PHP 4.3 do not support accessing remote files via 
this function, even if allow_url_fopen is enabled." 

The mail archives didn't shed any light on this question.


What alternatives might work?


Regards,

Richard Creech
[EMAIL PROTECTED]
250.744.3350 Pacific Time
Free and retail php resources for developers
http://www.dreamriver.com









-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to