1. make a Js class which Creates Ajax Objects in order to call PHP Scripts(Threads)
2. then make a PHP class Implements and Interfaces the Js Class
3. Implement the PHP Class with your script easily and LAUNCH threads very easy Just Like:-
$obj=new Thread($filename,$Inputs); in other words:-
$e=new Thread("Download.php","url="http://www.phpfreaks.com");
you will find the Classes & Documentation & Examples at :-
http://sourceforge.net/project/showfile ... _id=532251
where
AjT.php : the Js Class which is implemented by the PHP class
Threader.php : PHP Class, which is a front to deal with the Js Class
Bag.php : is also dealing with Js Class to know the status of Thread( a finishing Alarm )
Examples contain :-
1.downloading 2 files in parallel .
2. a PDM (Php Download Manager) a simple download manager in php
Please tell me what do [s]u[/s] you think of the Idea & Implementation .Thanks in advance and waiting for [s]ur[/s] your critique
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.