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

curl-and-php

Re: Getting msg in Apache error_log

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 31 Aug 2001 01:04:43 +0200 (MET DST)

On Thu, 30 Aug 2001, Roger Chang wrote:

> Here is a script I currently running using curl 7.8.1:
> <?PHP
>
> exec(/usr/bin/curl -d "$URL" $site)
>
> ?>
> And everything works great.
>
> However, everytime this script runs I getting the following in my apache
> error log:

[snip]

> Is this normal behavior?

Yes, that's the progress meter! It is normally sent to stderr.

> Is there a way to disable this?

Yes, try -s.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-08-31