On Wednesday 12 November 2003 21:48, Mario Ohnewald wrote:

> ok, i am running the script like this now:

[snip]

This seems to suggest that shell_exec() does not like your command and is not 
executing it, so:

Try tackling it logically, step-by-step:

> > Have you:
> >
> > 1) Turned on full error reporting?
>
> How do i turn that on?

In php.ini, once you've enabled it, restart webserver and see what errors, if 
any, you get.

> > 2) Checked that (i) you're not running in safe_mode, or (ii) if you are,
> > that
> > you are allowed to access those executables?
>
> i am running in safe mode.

What is the answer to (ii)?

Are you able to execute any shell programs/commands at all? Hint try something 
simple like shell_exec('touch /tmp/testfile') and see whether /tmp/testfile 
is being created.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I can't stand squealers; hit that guy.
                -- Albert Anastasia
*/

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

Reply via email to