Capturing HTTP Response

From: Date: Fri, 06 Jun 2003 22:37:31 +0000
Subject: Capturing HTTP Response
Groups: php.general 
Request: Send a blank email to php-general+get-150552@lists.php.net to get a copy of this message
Hi, I'm currently setting up a form for CC processing. At the moment I am able to send the required flags to authorize the CC transaction, but then I do not know how I go about parsing the returned headers. After processing the transaction the merchant returns either HTTP 200 (ok) along with values or HTTP 400(ERRROR) with a string indicating reason for error. So how would I go about parsing these in my script?

« previous php.general (#150552) next »