Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3879 invoked by uid 1010); 7 Sep 2007 17:57:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3864 invoked from network); 7 Sep 2007 17:57:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2007 17:57:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=lehmann@cnm.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lehmann@cnm.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cnm.de from 81.28.232.18 cause and error) X-PHP-List-Original-Sender: lehmann@cnm.de X-Host-Fingerprint: 81.28.232.18 relay1.mail.vrmd.de Linux 2.4/2.6 Received: from [81.28.232.18] ([81.28.232.18:35933] helo=relay1.mail.vrmd.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/12-29055-42191E64 for ; Fri, 07 Sep 2007 13:57:57 -0400 Received: from [84.191.18.172] (helo=[192.168.33.66]) by relay1.mail.vrmd.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1ITi5V-0004fC-Lf for internals@lists.php.net; Fri, 07 Sep 2007 19:57:49 +0200 Message-ID: <46E19121.1010906@cnm.de> Date: Fri, 07 Sep 2007 19:57:53 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Relay-User: lehmann@variomedia.de Subject: own php function From: lehmann@cnm.de (Marten Lehmann) Hello, I would like to create an own php function which just prints a certain report as phpinfo() does. The function shall not be included into the general php code, I just want to patch my own installation. Where would be a good place for the function? I don't want to create an extention which would have to be included into the configure script, I guess thats too much work. The function shall be able to access the Host-header of the webserver. Regards Marten