cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: view outgoing post string?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 8 Apr 2010 10:42:05 +0200 (CEST)

On Thu, 8 Apr 2010, Peter Miller wrote:

> i would like to be able to see the outgoing post variables from my php curl
> script, is there any simple way to do this?

I'm really not a PHP guy, but I believe recent PHP/CURL code allows you to do
something like this:

         $headers = curl_getinfo($c, CURLINFO_HEADER_OUT);

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2010-04-08