PHP Threads
Posted: Mon Feb 12, 2007 12:41 am
hi everybody,
i created a script that works as a E-mail listener. it will receives the e-mails and process on it.
Then it will generate some reply e-mail notifications. Then it will send those replies to the end user.
Now it will work when i request that script from the browser.(i.e, 127.0.0.1/email_listener.php).
but i want to do it by a thread work. means that, it should work from the server automatically, whenever the server starts it should start and should work as listener.
i think it can be achieved by some thread concept. is it there in PHP?
could you please help me?
i created a script that works as a E-mail listener. it will receives the e-mails and process on it.
Then it will generate some reply e-mail notifications. Then it will send those replies to the end user.
Now it will work when i request that script from the browser.(i.e, 127.0.0.1/email_listener.php).
but i want to do it by a thread work. means that, it should work from the server automatically, whenever the server starts it should start and should work as listener.
i think it can be achieved by some thread concept. is it there in PHP?
could you please help me?