[Users] exec_dset syntax error
norm at goes.com
Thu Nov 17 19:58:07 CET 2005
Here's another suggestion. Note that I have not used exec_dset() to try
to execute PHP.
Place a call to the php interpreter on the first line of your PHP file
as noted below. If it works for you great, if not, someone else might
need to assist.
echo "Hello, World!\n";
> I can run the script direct from the command line, but I did try what
> you suggested, but still no luck it still says syntax error.
> Norman Brandinger wrote:
>> A quick guess would be that unless your system knows that .php files
>> are to be executed by the php interpreter and the interpreter is
>> automatically called, you're going to have to find a way to issue
>> something like "php /path/to/program.php". PHP code is "NOT"
>> directly executable, it is interpreted.
>> Iqbal wrote:
>>> can anyone see what wrong with
>>> exec_dset("/path/to/program.php") unless of course exec_dset only
>>> likes shell scripts
>>> Users mailing list
>>> Users at openser.org
More information about the Users