RE: [PHP-DEV] Headers required?

2003-01-15 Thread Sascha Schumann
On Wed, 15 Jan 2003, Vinod Panicker wrote: > Thanks for the quick reply... > > But is there something that I can do right now that will allow this code > to work with php 4.2.3? You could add the necessary code from here: http://news.php.net/article.php?group=php.cvs&article=16651 -

RE: [PHP-DEV] Headers required?

2003-01-15 Thread Vinod Panicker
essage- From: Sascha Schumann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 4:28 PM To: Vinod Panicker Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Headers required? > What are the headers required out here to compile this code > successfully? Libs to link with? There i

Re: [PHP-DEV] Headers required?

2003-01-15 Thread Sascha Schumann
> What are the headers required out here to compile this code > successfully? Libs to link with? There is a SAPI API call for that (in HEAD, but I intend to merge it into the 4.3 branch). SAPI_API int sapi_get_fd(int *fd TSRMLS_DC); - Sascha -- PHP Development Mailing List

[PHP-DEV] Headers required?

2003-01-15 Thread Vinod Panicker
Hi, I have a custom extension in which I want to write this piece of code -> /* {{{ proto int apache_client_socket() Get the client socket */ PHP_FUNCTION(apache_client_socket) { RETURN_LONG(((request_rec *)SG(server_context))->connection->client->fd); } /* }}} */ This code is somethi