Best way to run multiple scripts inside PHP

Status
Not open for further replies.

Dman

Active Member
476
2008
1
0
Sorry about my description not being so descriptive. So what I have is a file called dowork.php

Now it's supposed to call (and not wait to complete the execution)
reallywork.php?begin=0&end=100
reallywork.php?begin=101&end=200
and so on...

What would be the best way to implement this? I thought of using threads but PHP sucks at them (honestly speaking)

So I was thinking either a perl/python script which does the threading work or using shell calls from PHP to execute those scripts without waiting for it to complete.

Need more suggestions :D
 
1 comment
Status
Not open for further replies.
Back
Top