adding functions to existing extensions

php.internals

Binam, Jesse

21 years ago
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. tia, Jess

Wez Furlong

21 years ago
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: