Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15233 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15989 invoked by uid 1010); 28 Feb 2005 22:53:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15973 invoked from network); 28 Feb 2005 22:53:15 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 28 Feb 2005 22:53:15 -0000 X-Host-Fingerprint: 67.78.11.230 relay.daleenterprise.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (1) Received: from ([67.78.11.230:55754] helo=daleenterprise.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 56/45-43672-AD0A3224 for ; Mon, 28 Feb 2005 17:53:14 -0500 Received: from mail.daleenterprise.com (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id 432FF5DDBDB for ; Mon, 28 Feb 2005 17:52:56 -0500 (EST) Received: from daleenterprise.com ([127.0.0.1]) by mail.daleenterprise.com (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08719-19 for ; Mon, 28 Feb 2005 17:52:55 -0500 (EST) Received: from [10.1.100.21] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id 3CD8B5DDBC7 for ; Mon, 28 Feb 2005 17:52:55 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-ID: <34900efc47cb182dea88e31506d65417@daleenterprise.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: PHPdev List Date: Mon, 28 Feb 2005 17:52:54 -0500 X-Mailer: Apple Mail (2.619.2) MTA-Interface: amavisd-new-2.2.1 (2004-12-22) at daleenterprise.com X-Spam-Scanned: using SpamAssassin at daleenterprise.com X-Virus-Scanned: using ClamAV at daleenterprise.com Subject: project_logo[] From: info@daleenterprise.com (D . Walsh) I'm trying to add a logo and URL to the info of my project, unfortunately, I can't seem to find all of the API info to make it work. I've generated a project_logo.h file using the logos.h file as a footprint (tested it by replacing the zend_logo data with my data so I know it's valid and works) defined my PROJECT_LOGO_GUID and added my function: PHP_FUNCTION(project_logo_guid) { if (ZEND_NUM_ARGS() != 0) { WRONG_PARAM_COUNT; } RETURN_STRINGL(PROJECT_LOGO_GUID, sizeof(PROJECT_LOGO_GUID)-1, 1); } /* }}} */ created my PHP_FUNCTION(project_info) { PUTS("\n"); PUTS(""); PUTS("\n"); php_info_print_style(TSRMLS_C); PUTS("project_info()"); PUTS("\n"); PUTS("
\n"); php_info_print_box_start(1); PUTS("\"project\n"); php_printf("

PROJECT Version %s

\n", PHP_PROJECT_VERSION_STRING); php_info_print_box_end(); } What additional code am I missing? -- Dale