Two technical points:
1/ You *must not* use php_stream_from_zval except within a
PHP_FUNCTION unless you really know what you're doing. Use
php_stream_from_zval_no_verify instead, and manually check to see if
you ended up with a valid stream pointer. The segfault problem you
had was because you
Hi,
while developping some shell scripts with PHP-cli I've got annoyed that PHP
sends its error messages to STDOUT instead of STDERR so I've written the
attached patch.
I see two possible problems with this patch where I'm not sure if one of the
is really critical:
- it uses the PHP STDERR c
Well, on the surface it looks good, but the apache2filter and
apache2handler sections say it returns a structure that has the
request_rec as a member.
I'll try it but it looks flaky...
Dave
On Sat, 2004-07-17 at 09:35, Justin Hannus wrote:
> David Carter wrote:
> > Hi,
> >
> > I'm developing a
[EMAIL PROTECTED] wrote:
> I am looking for a little HowTo/Tutorial how am I able to add new
> features to PHP - perhaps as a module (dont know if it is possible)
> or as a lib or as something else.. .:)
The last few chapters of George Schlossnagle's "Advanced PHP Programming"
are devoted to this
David Carter wrote:
Hi,
I'm developing a standalone module that needs to hook into another
Apache module. I need a pointer to a request record (request_rec) to
make the apache call, but I can't seem to find how to access one from a
module. (or alternatively, a way to get a current request from with
Be warned that parts of it are somewhat out of date, but the basics
are still applicable.
--Wez.
On Sat, 17 Jul 2004 10:31:55 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> > Every tried the php-documentation? ;)
> Oooops :) my fault...
>
> Thanks will work it througth
--
PHP Internals
> Every tried the php-documentation? ;)
Oooops :) my fault...
Thanks will work it througth
Christian
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 17 Jul 2004 10:00:17 +0200, [EMAIL PROTECTED] wrote:
> I am looking for a little HowTo/Tutorial how am I able to add new features to
> PHP - perhaps as a module (dont know if it is possible) or as a lib or as
> something else.. .:)
Every tried the php-documentation? ;)
http://www.php.
Hi,
sometimes I miss some functions in PHP. Most of the times I write this
function in PHP and put this function(s) in a extra file and include this
file in every project I have.
Now I want to write those functions I have collected over years in C.
1. for training
2. that i don't need to inc