On 9/7/07, Marten Lehmann <[EMAIL PROTECTED]> 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.
>
> Regards
> Marten
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

You could make your own extension.. in order to write them (Because
after writting one you realize you need more) you should be using
either that book by Sara:
http://www.amazon.com/dp/067232704X?tag=libssh2projec-20&camp=14573&creative=327641&linkCode=as1&creativeASIN=067232704X&adid=01HQSM6RF0V2X97Y0VPW&;

Or

Start by reading:

http://devzone.zend.com/article/1021-Extension-Writing-Part-I-Introduction-to-PHP-and-Zend

And I would probably direct you towards [EMAIL PROTECTED]

The reason I am mentioning to make your own extension is to save you
the hassle of migrating from a version to another. If you make your
extension you can easily package it, and when you recompile/re-install
php, you just pecl install MyOwnExtension or such.





-- 
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18

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

Reply via email to