Has anyone successfully used CURL_USERPWD? When using this, it returns a "Document contains no data", and a "segmentation fault" is written to the apache error_logs. I can produce slightly different results by leaving the username:password field empty. It at least writes a "password:" line to the error log. Some details of the configuration: Apache 1.3.12 PHP 4.0.4pl1 libmcrypt 2.2.x (I think it is 2.2.6 and 2.2.7) Linux and Sun boxes the php script... <?php $ch=curl_init(); curl_setopt($ch,CURLOPT_URL, "http://$url/$page"); $user="someone"; $pass="someplace"; curl_setopt($ch,CURLOPT_USERPWD, "$user:$pass"); curl_exec($ch); curl_close($ch); ?> ideas of what I am missing? I want the output to go straight to the browser (used to retrieve images..other suggestions for grabbing images are welcome) benji --- Ben Spencer Web Support [EMAIL PROTECTED] x 2288 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]