dirkobrien56 Posted November 9, 2009 Share Posted November 9, 2009 Problem is simple is it possible to run multiple functions as one to lower script execution time. Im sure it can be done but my brains are exploding already any help wouldnt hurt. Link to comment https://forums.phpfreaks.com/topic/180908-solved-multiple-functions-at-once/ Share on other sites More sharing options...
Mchl Posted November 9, 2009 Share Posted November 9, 2009 Multiple functions at once? No. Multiple scripts at once? Yes. Will it lower execution time? Depends on what you're doing. Link to comment https://forums.phpfreaks.com/topic/180908-solved-multiple-functions-at-once/#findComment-954389 Share on other sites More sharing options...
dirkobrien56 Posted November 9, 2009 Author Share Posted November 9, 2009 Damn small curling session just thought that there is easier way for it looks like i have to look for multi curl. Link to comment https://forums.phpfreaks.com/topic/180908-solved-multiple-functions-at-once/#findComment-954398 Share on other sites More sharing options...
mrMarcus Posted November 9, 2009 Share Posted November 9, 2009 why don't you give some insight or post some code for people to have a gander at what you're trying to accomplish. Link to comment https://forums.phpfreaks.com/topic/180908-solved-multiple-functions-at-once/#findComment-954402 Share on other sites More sharing options...
Mchl Posted November 9, 2009 Share Posted November 9, 2009 You can have one 'master' scripts that starts 'slave' scripts each doing it's own curl request and then storing results in a file or perhaps even handling back to master script. That's quite complicated though, as it's on verge of multithreaded processing. Link to comment https://forums.phpfreaks.com/topic/180908-solved-multiple-functions-at-once/#findComment-954404 Share on other sites More sharing options...
dirkobrien56 Posted November 9, 2009 Author Share Posted November 9, 2009 Thanks for trying to help but i figured out that Mchl already gave me solution and thats great and easier than mine. Just going to make it as multiple scripts and its done Multiple functions at once? No. Multiple scripts at once? Yes. Will it lower execution time? Depends on what you're doing. Link to comment https://forums.phpfreaks.com/topic/180908-solved-multiple-functions-at-once/#findComment-954405 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.