RE: [PHP-DEV] Extending PHP to use our code.
| From: | Anas Mughal | Date: | Mon, 20 Dec 1999 19:23:06 +0000 |
| Subject: | RE: [PHP-DEV] Extending PHP to use our code. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13879@lists.php.net to get a copy of this message | ||
Hi,
Once I extend PHP with my functions, do I ask my ISP to incorporate my
changes into the PHP engine on the webserver?
Or, do I have to run it as an independent CGI program?
Thanks.
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@php.net]
Sent: Tuesday, November 30, 1999 11:27 AM
To: Anas Mughal
Cc: 'php-dev@lists.php.net'
Subject: Re: [PHP-DEV] Extending PHP to use our code.
> Our source code is in C. I was wondering if I could hook up some function
> calls from PHP to our C functions.
>
> If possible, please advise me where I could find instructions on how that
> could be accomplished.
> Some examples would also help.
There are hundreds of examples. Just pick an existing PHP function that
is closest to the one you want to add in terms of arguments and return
values and use that as a template.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.