alternative to LWP(perl)module


#1

is any functuality just like LWP::UserAgent(perl) in PHP, should connect with secure server also. or any other alternatives??

Kind Regards
raj


#2

I am not a PERL Programmer, so I don’t (didn’t) know what LWP is. So, I looked it up. As I understand it LWP (Library of WWW Perl modules), is a collection of modules (functions, etc…) to provide you with an API. Correct?

Well isn’t that, generally speaking, exactly what PHP is? An API for web pages?

Because PERL was not designed specifically for the web, PERL probably has a specific (additional) module that is required for Web Programming, however PHP is, generally, designed for the web. (Perl was designed to be for programming in general not just or mainly for the web).

Not sure I answered your question or not, but then I don’t know if I really understand your question.

I suppose it might help better if we knew exactly what it was you are trying to do.


#3

went here to see what you were talking about
http://www.perldoc.com/perl5.6/lib/LWP/UserAgent.html

The basic approach of the library is to use HTTP style communication for all protocol schemes

I think it is something to handle an HTTP protocol. If it is you should check out cURL ( http://www.php.net/manual/en/ref.curl.php) and context streams ( http://www.php.net/manual/en/function.s … create.php).

Take it with a grain of salt.


#4

Thank you , i exected just like stream functions…