You are here: Re: CURL and PHP Redirect « PHP Programming Language « IT news, forums, messages
Re: CURL and PHP Redirect

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация