Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14075 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43031 invoked by uid 1010); 15 Dec 2004 18:26:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34296 invoked from network); 15 Dec 2004 18:24:47 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.200) by pb1.pair.com with SMTP; 15 Dec 2004 18:24:47 -0000 Received: by wproxy.gmail.com with SMTP id 36so546724wri for ; Wed, 15 Dec 2004 10:24:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=EFsqR9y6hfdoePVskPFeFIvnuINYPSgEgZXRYQSSuU3mlkYuNmyxYLs5AZZzrYUT9Ue3fjztSCmwyBfCebFZMoUK11seCxtmhuKf5jIGJgd+Vucnazo7PYqo/l2EO0iZi2bSxwR0EQJdqPpnNoNq4hux1b8HJs8F2iv6XGP/iPI= Received: by 10.54.19.4 with SMTP id 4mr813865wrs; Wed, 15 Dec 2004 10:24:47 -0800 (PST) Received: by 10.54.59.23 with HTTP; Wed, 15 Dec 2004 10:24:47 -0800 (PST) Message-ID: <4e89b426041215102471ec1951@mail.gmail.com> Date: Wed, 15 Dec 2004 13:24:47 -0500 Reply-To: Wez Furlong To: "Binam, Jesse" Cc: internals@lists.php.net In-Reply-To: <5367F26C013DE8429873569307F6F4A37EC2DE@OCC01MX023.na.simplot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <5367F26C013DE8429873569307F6F4A37EC2DE@OCC01MX023.na.simplot.com> Subject: Re: [PHP-DEV] adding functions to existing extensions From: kingwez@gmail.com (Wez Furlong) 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: > > 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 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >