[PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
i found out myself if anyone wants to know...


John Ryan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 is there any way of seeing exactly what headers cURL sent in a transfer,
 with PHP?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: curl and sent headers

2003-09-08 Thread Chris Shiflett
--- John Ryan [EMAIL PROTECTED] wrote:
 is there any way of seeing exactly what headers cURL sent in a
 transfer, with PHP?

--- John Ryan [EMAIL PROTECTED] wrote:
 i found out myself if anyone wants to know...

Yes, please. It is always helpful (and courteous) to mention how you solved
your original problem when interacting with this list. This allows you to
contribute back to the list, and ultimately the PHP community. :-)

Even if the answer someone else gave is sufficient, it is nice to quote that
answer and give a quick that worked for archival purposes. This way when
someone references the archive seeking the answer to the same question, they
can see which answer worked for you (the person they will likely relate to the
most).

And, though it doesn't apply to you in this case, it is nice to thank the
person who helped you solve a particular problem. The only motivation for
pouring a lot of effort into responding to the questions here is to feel like
you're helping a lot of people. John Holmes comes to mind as a frequent
contributor, as do many others (is there a list?).

Thanks for your help.

Chris

=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
yeah, sure.

well, for archival purposes, i couldnt do it with PHP. the verbose option
didnt work with PHP, CURLOPT_VERBOSE. but it did work on the command line.
so i logged in and re-created my curl transfer on the command line with an
added -v, for verbose. and it gave me back the headers it sent to the site,
i saw my problem straight away, and modified the PHP script.

Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 --- John Ryan [EMAIL PROTECTED] wrote:
  is there any way of seeing exactly what headers cURL sent in a
  transfer, with PHP?

 --- John Ryan [EMAIL PROTECTED] wrote:
  i found out myself if anyone wants to know...

 Yes, please. It is always helpful (and courteous) to mention how you
solved
 your original problem when interacting with this list. This allows you to
 contribute back to the list, and ultimately the PHP community. :-)

 Even if the answer someone else gave is sufficient, it is nice to quote
that
 answer and give a quick that worked for archival purposes. This way when
 someone references the archive seeking the answer to the same question,
they
 can see which answer worked for you (the person they will likely relate to
the
 most).

 And, though it doesn't apply to you in this case, it is nice to thank the
 person who helped you solve a particular problem. The only motivation for
 pouring a lot of effort into responding to the questions here is to feel
like
 you're helping a lot of people. John Holmes comes to mind as a frequent
 contributor, as do many others (is there a list?).

 Thanks for your help.

 Chris

 =
 Become a better Web developer with the HTTP Developer's Handbook
 http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php