I have written a program that uses fsockopen()and fgets()to read the contents of a web site on the web or upload a file to my server from the network.
He uses the command Whileto get the headers. The problem is this: when the script is processing While, a unique client cannot request another page on my website and will wait for While()its processing to complete .
Is there any way to solve this problem?
source
share