Buckley Robinson wrote:
>but I can't find documentation on it.
>
>I need to know the following:
>1. How to add new function to php
>
Well, I'm far from being competent here but since I don't see any answers...
The best place to start IMHO is
php-x.y.z/ext
directory
It have a script to create new extension "ext_skel".
Use "--help" option to start.
Look at the files it create.
It helped me ...
>2. In that function how to write to the http stream
>
printf() will do but it doesn't seems to be correct thing since
headers (sent?) state is not checked.
It means you can start output and headers will be sent _after_
your output. you can use printf() for debug purposes till you
find appropriate way.
>3. How to access data from sql recordset
>
No idea. You should look in ext/mysql/*.c.
>
>Please point me in the right direction for this. Thanks.
>
>-- Regards,
> Buck Robinson
>
>
>
--
NetCat
------------------------------------------------------
SPAM-Free 10mb Free email + Antivirus + POP3 + more...
Get it at http://www.doal.co.il:81/free/?c=all-spam