Re: creating a PHP wrapper script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Lind wrote:
> php.net/curl should be able to do what you want.

+1

> file_get_contents with a proper stream context should also work (have
> a look at functions like http://dk.php.net/manual/en/context.http.php
> )

very important to note that file_get_contents uses HTTP 1.0 not 1.1 by
default.

99% of web servers use HTTP 1.1 nowadays.

ps: please don't hook up on the 99%, i don't know the exact figure :p

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux