Hi Marten,

On Friday 07 September 2007 07:57:53 pm Marten Lehmann wrote:
> Hello,
>
> I would like to create an own php function which just prints a certain
> report as phpinfo() does.
>
> The function shall not be included into the general php code, I just
> want to patch my own installation. Where would be a good place for the
> function? I don't want to create an extention which would have to be
> included into the configure script, I guess thats too much work. The
> function shall be able to access the Host-header of the webserver.

A custom extension looks like the perfect place for such a thing since changes 
in PHP will less likely break it and you can simply copy it from PHP version 
to PHP version without having to care aobut changes in PHP...

johannes

> Regards
> Marten



-- 
Johannes Schlüter
http://schlueters.de

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to