Skip to content
WJunction - Webmaster Forum

Best way to run multiple scripts inside PHP

Status
Not open for further replies.
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.

About the author

D
Active Member · Joined
476
Messages
1
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom