0

I'm stuck in a very big problem.

Inside my website I call this function, for execute this file called "sched.php"

function write()

    passthru('php /var/www/html/sched.php',$err);
    return $err;
}

But nothing is done. It's my output:

<output of sched.php>

1 

I'don't understand, where's my mistake?

1 Answer 1

1

Try this:

 include "sched.php";  //plus the path, if needed
 return $err;
Sign up to request clarification or add additional context in comments.

1 Comment

same thing, Error. Nothin is changed. Maybe something is wrong with my apache configuation? Where can I check ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.