[snip]
Jay try just to execute php yourfilename
And see what is done. For example i have problems with execution
read my e-mail in the list.
[/snip]
Still not working. I have the script check for the existence of the file and
return an error if it is not downloaded. That is the only error
[snip]
Ok from the beginning PHP executes and writes files with
permissions (like userid and groupid) Webserver is running.
So what i think will be the best way for you to do. Is to create an
executable with the same owner. and then execute it. As for
/usr/local/bin directory it allows to write
Bingo! That will work! This is what I do with the modem script. Since
there's no PHP function or script for the modem, so I used the C programming
that is already written by someone and just use PHP to execute the file.
Jay Blanchard [EMAIL PROTECTED] wrote in message
On Wednesday 03 July 2002 23:08, Jay Blanchard wrote:
{snip]
Try hand writing a script then exec() it from php.
[/snip]
Tried that, no go.
Can we go back to basics?
Does:
echo shell_exec('ls');
work? If not, are you running in safe-mode?
--
Jason Wong - Gremlins Associates -
4 matches
Mail list logo