Re: Curl doesn't handle memory stream

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

 



Hello

on 02/13/2008 08:11 PM Nathan Nobbe said the following:
> On Feb 13, 2008 5:07 PM, Jim Lucas <lists@xxxxxxxxx> wrote:
> 
>> I see on the http://us.php.net/wrappers.php page that only php 5.1.0 and
>> newer
>> have this feature.  What version of PHP are you using?
> 
> 
> thanks for your time jim;
> im using 5.2.5.
> 
> manuel, thanks for your time as well.  of course i can just use a file,
> but im somewhat interested in this feature.  and im not sure if curl
> implements
> the file handling on its own, otherwise why would i have partial success
> with
> certain urls?  i think something goofy is going on here; id like to find out
> if
> at all possible.  i know that some extensions may not support the feature,
> but i could find no documentation that would say either way for the curl
> extension..

THat is a bit intriguing why it works in some cases and others it doesn't.

I do not use the Curl library functions except for things that you
cannot do with the current fsockopen based socket connections. In the
latest PHP versions there is not much that you cannot do with socket
connections that you can do with Curl.

In any case, I have encapsulated HTTP client fucntionality in the class
that I mentioned, so it uses fsockopen or curl functions depending on
what you need and what is available in the underlying PHP version. This
way I achive a PHP version independent solution.


-- 

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
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