RE: adding functions to existing extensions

php.internals

Binam, Jesse

21 years ago
That was it, Thanks. I saw that but forgot about it. That's what I get for trying to play at work. ;) -----Original Message----- From: Wez Furlong [mailto:kingwez@gmail.com] Sent: Wednesday, December 15, 2004 11:25 AM To: Binam, Jesse Cc: internals@lists.php.net Subject: Re: [PHP-DEV] adding functions to existing extensions You need to add a PHP_FE(ftp_get_resp, NULL) into the function table; search for PHP_FE to find the other entries. --Wez. On Wed, 15 Dec 2004 10:53:40 -0700, Binam, Jesse <Jesse.Binam@simplot.com> wrote:
> > I added the ftp_get_resp() function I was talking about. Everything > compiles fine, but when try to use it I get "Fatal error: Call to > undefined function > ftp_get_resp() in /opt/php-dev/bin/test.php on line 4" any ideas on > what I am missing? I did make clean, and recompiled but still the > same. I am pretty sure I have everything setup right, I have the > PHP_FUNCTION(ftp_get_resp); in php_ftp.h, and have the definition in
php_ftp.c.