I’ve written a program that uses fsockopen() and fgets() to read a website’s content on the net or downloading a file onto my server from the net.
It uses the While command to receive headers. The problem is: when the script is processing While, a unique client can not request another page on my website and it will wait until While() finishes its processing.
Is there any way to solve this problem?
It was a multiple session_start() call problem!!
i used session_write_close() at the end of my files which started with session_start(), and now everything works fine.
Thank you everyone.