[PHP-DEV] Using Network functions.

2008-06-25 Thread Mangol Smith
Hey guys, I just started hacking PHP. I want to use Netwok Functions. So far from the source code browsing I learnt that In PHP *"obvious" solution is not the right answer.* The obvious solution for implementing HTTP methods or any Network functions for that matter, is using socket(), connect(),

[PHP-DEV] Re: Using Network functions.

2008-06-25 Thread Mangol Smith
Hey guys, someone suggested me to have a look at libcURL. I did, but its very complex. All I needed is lowlevel/network wrappers. like emalloc() & pemalloc() as wrapper on malloc(). There might be some wrappers (platform independent & used in php source code) which I can use to make a connection

Re: [PHP-DEV] Re: Using Network functions.

2008-06-25 Thread Mangol Smith
Hi, On Thu, Jun 26, 2008 at 8:55 AM, Jevon Wright <[EMAIL PROTECTED]> wrote: > If you want to POST or do weird HTTP stuff, try the Curl extension. > (Multiple platforms) Also look into PEAR, they have some socket stuff as well I think, as > well as lots of other extensions that implement other

Re: [PHP-DEV] Re: Using Network functions.

2008-06-26 Thread Mangol Smith
> Are you sure you even need to write your own extension? If you just want to > do > HTTP requests, then curl or HTTP extension should be sufficient. Nope, I'm developing an extension. In which I require this functionality. Its not the entire purpose of my extension. Just a part of the functional

[PHP-DEV] How to enable debug for my extension?

2008-09-02 Thread Mangol Smith
able-debug and --with-debug options, but no result. PHP is giving a startup error while loading my extension. Any suggestions please. -- Mangol Smith

[PHP-DEV] Strange problem with php_stream_read()

2008-09-06 Thread Mangol Smith
php_stream_read() ? -- Mangol Smith