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 ->
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
002901c222a3$8c2a6f00
[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 in
Hello Jay,
That wasn't what i recommended you LOL :).
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
[snip]
Jay try just to execute php
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 I get
Thank
Hello jay,
Jay try just to execute php
And see what is done. For example i have problems with execution
read my e-mail in the list.
Wednesday, July 3, 2002, 4:56:39 PM, you wrote:
jbnc> [snip]
jbnc> As a matter of fact, when viewing the source (which should display properly
jbnc> if wor
6 matches
Mail list logo