Search Webmaster Help and Solution

How to run my script from another script and wait for finish?

I need to call a script called build_report.php, pass in a URL variable named partno and wait until it is finished before continuing.

This script builds a report and then an email is sent out to our customer so I dont want the email sent until the report is generated.

Is this possible?

Which should I use exec or cURL? I need to call a script called build_report.php, pass in a URL variable named partno and wait until it is finished before continuing.

This script builds a report and then an email is sent out to our customer so I dont want the email sent until the report is generated.

Is this possible?

Which should I use exec or cURL?

View Complete Thread with Replies

Related Items

Query failed: connection to localhost:3354 failed (errno=111, msg=Connection refused).