Re: Re: curl and sent headers
| From: | John Ryan | Date: | Tue, 09 Sep 2003 03:35:00 +0000 |
| Subject: | Re: Re: curl and sent headers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162032@lists.php.net to get a copy of this message | ||
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" <shiflett@php.net> wrote in message
news:20030909025927.76920.qmail@web14301.mail.yahoo.com...
> --- John Ryan <celticfc@iol.ie> wrote:
> > is there any way of seeing exactly what headers cURL sent in a
> > transfer, with PHP?
>
> --- John Ryan <celticfc@iol.ie> 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/