connection aborting

From: Date: Thu, 28 Jun 2001 00:00:44 +0000
Subject: connection aborting
Groups: php.general 
Request: Send a blank email to php-general+get-55437@lists.php.net to get a copy of this message
Hello, I'm trying to understand the connection handling in PHP. I've read the documentation page, but everything I've tried doesn't seem to work. I have a script that downloads and parses 5 search engine xml feeds and returns them... a meta search engine of sorts. I'm having problems with it's effeciency. For starters, I can't figure out how to get PHP to abort the connection if someone hits "stop". It just keeps on chugging to the end, where I have it email me that it's done (for testing). The email has the connection_status() in it, and it's always 0, meaning Normal. There is no way that it could be completing before I hit stop because there is output that would come first, before the email is sent, and I never see that output. I've also tried ignore_user_abort(FALSE) (the default), ignore_user_abort(TRUE), and neither affect whether the script completes and sends the email or not. Thanks in advance for your help, -- Hans me-at-hansanderson dotcom

« previous php.general (#55437) next »