| 
 Posted by R. Rajesh Jeba Anbiah on 03/25/06 06:20 
niftyhawk@gmail.com wrote: 
> Hi, 
> 
> The result of print_r(curl_getinfo($ch)); is as follows: 
> 
> Array ( [url] => http://localhost/abc/default.asp?xyz= [http_code] => 0 
> [header_size] => 0 [request_size] => 0 [filetime] => 0 
> [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0 
> [namelookup_time] => 0 [connect_time] => 0 [pretransfer_time] => 0 
> [size_upload] => 0 [size_download] => 0 [speed_download] => 0 
> [speed_upload] => 0 [download_content_length] => 0 
> [upload_content_length] => 0 [starttransfer_time] => 0 [redirect_time] 
> => 0 ) 
 
    Obviously, you're using print_r(curl_getinfo($ch)); before 
curl_exec(). Use it immediately after curl_exec() 
 
-- 
  <?php echo 'Just another PHP saint'; ?> 
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/
 
[Back to original message] 
 |