At 21:59 22.03.2003, Vincent M. said:
[snip]
>Yes I know but my aim is to make a php script which checks automaticly
>if the php and the shell functions I need are available.
[snip]
You can use function_exists() and
On Sat, 22 Mar 2003 12:59:19 -0800, you wrote:
>Yes I know but my aim is to make a php script which checks automaticly
>if the php and the shell functions I need are available.
If you look at the output of phpinfo() you'll see a whole bunch of
variables that are set differently depending on the
Sebastian wrote:
put this in a .php file:
it'll tell you what OS, (usually)
check if safe mode is on.. if it's on then usually you can't "exec"
anything.
cheers,
- Sebastian
Yes I know but my aim is to make a php script which checks automaticly
if the php and the shell functions I need are availa
put this in a .php file:
it'll tell you what OS, (usually)
check if safe mode is on.. if it's on then usually you can't "exec"
anything.
cheers,
- Sebastian
- Original Message -
From: "Vincent M." <[EMAIL PROTECTED]>
| Hello,
|
| Is there anyway to check these two things:
| - If the
Hello,
Is there anyway to check these two things:
- If the server is an Unix server.
- If a command is available on the server.
For exemple, I need to test if the shell command unzip is avalaible to do:
exec("unzip ...something...") ;
So I can test if exec is available doing:
if(function_exists(
5 matches
Mail list logo