Sancar Saran wrote:
Yes you are absolute right.
Session was locked...
Thanks for info :)
No problem, but please include the list in replies especially when
you're confirming a possible explanation. It helps improve the
usefulness of the archives.
-Stut
On Tuesday 06 February 2007 13:54,
Sancar Saran wrote:
I think php does not open second thread for same session...
Does your script use sessions? If so, then your problem has nothing to
do with anything the script is doing and everything to do with PHP
locking sessions.
* Request 1 does a start_session(), and PHP locks the s
On Mon, February 5, 2007 11:42 am, Sancar Saran wrote:
> Hi,
>
> One of my scripts are using wget to get external xml data
>
> $fp = popen ("wget -O - '".$dst."' | cat","r");
>
> Some time $dst host responds very slowly. And that time if I open
> another
> connection to same server the second reque
Hi, Matt
Thanks for answer, I try your solution and use it.
And interestingly I found this,
If my request coming from second tab of firefox it will wait util first
request done.
I think php does not open second thread for same session...
Anyway thanks for answer. It was very useful..
Regards
If you have cURL installed, you could use Curl to get the file, and manipulate
the contents that way.
Here is the standard function I use for grabbing a remote page.
function doRequest($method, $url, $vars = '', $headers = '0') {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
5 matches
Mail list logo