|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-30 17:06 UTC] sterling@php.net
[2001-07-30 17:06 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 00:00:02 2025 UTC |
Hi, the code: ---- function get_header($tmp1,$tmp2){ echo "R1:$tmp1<br>R2:$tmp2<br>"; return false; } curl_setopt ($ch, CURLOPT_HEADERFUNCTION, "get_header"); ---- results only: "HTTP/1.1 200 OK" and not the complete header. also the function get_header was not called for each header line. Regards, Steve