execute external php file inside php file
Posted: Wed Aug 27, 2008 6:48 am
I am working with the concept of threading, Here I want to execute a same php file more than one time simultaneously. Is there is any command to execute php file?
I used exec() function to execute external php file, issue here is i cannot implement threading concept here. When i call this exec() function for different files, the files are executed one after the other, it is not executed simultaneously.
Please suggest me how to implement threading concept.
Even when I am using exec() function I am not able to pass more than one arguments, ie., arguments after '&' is not passed to the remote program.
How can I solve this issue?
Thanks in advance
Geetha
I used exec() function to execute external php file, issue here is i cannot implement threading concept here. When i call this exec() function for different files, the files are executed one after the other, it is not executed simultaneously.
Please suggest me how to implement threading concept.
Even when I am using exec() function I am not able to pass more than one arguments, ie., arguments after '&' is not passed to the remote program.
Code: Select all
exec("C:/path/wget.exe -q http://localhost/sitemapprototype/crawl.php?thread={$nam}&uurl={$urll}");Thanks in advance
Geetha