Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43705 invoked by uid 1010); 15 Dec 2004 19:01:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43579 invoked from network); 15 Dec 2004 19:01:23 -0000 Received: from unknown (HELO charon.simplot.com) (12.18.144.212) by pb1.pair.com with SMTP; 15 Dec 2004 19:01:23 -0000 Received: from occ01mx003.na.simplot.com (10.10.6.25) by charon.simplot.com (MX V5.3 AnGp) with SMTP; Wed, 15 Dec 2004 12:01:21 -0700 Received: from 10.10.6.3 by occ01mx003.na.simplot.com (InterScan E-Mail VirusWall NT); Wed, 15 Dec 2004 12:01:21 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 15 Dec 2004 12:04:16 -0700 Message-ID: <5367F26C013DE8429873569307F6F4A37EC56D@OCC01MX023.na.simplot.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] adding functions to existing extensions Thread-Index: AcTi02D7xFYG3zAgQ3K2wxmcyjQozgABWWqA To: "Wez Furlong" CC: Subject: RE: [PHP-DEV] adding functions to existing extensions From: Jesse.Binam@simplot.com ("Binam, Jesse") That was it, Thanks. I saw that but forgot about it. That's what I get for trying to play at work. ;)=20 -----Original Message----- From: Wez Furlong [mailto:kingwez@gmail.com]=20 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 wrote: > =20 > I added the ftp_get_resp() function I was talking about. Everything=20 > compiles fine, but when try to use it I get "Fatal error: Call to=20 > undefined function > ftp_get_resp() in /opt/php-dev/bin/test.php on line 4" any ideas on=20 > what I am missing? I did make clean, and recompiled but still the=20 > same. I am pretty sure I have everything setup right, I have the=20 > PHP_FUNCTION(ftp_get_resp); in php_ftp.h, and have the definition in php_ftp.c. > =20 > tia, > Jess > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe,=20 > visit: http://www.php.net/unsub.php >=20 >