Re: including functions on every php page in a site
| From: | Jerome Houston | Date: | Fri, 24 May 2002 23:01:26 +0000 |
| Subject: | Re: including functions on every php page in a site | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99176@lists.php.net to get a copy of this message | ||
go to:
http://www.php.net/manual/en/configuration.php
and look for "auto_prepend_file"
-jerome
----Original Message Follows----
From: "Darren Gates" <dgates@ics.uci.edu>
Reply-To: "Darren Gates" <dgates@ics.uci.edu>
To: php-general@lists.php.net
Subject: [PHP] including functions on every php page in a site
Date: Fri, 24 May 2002 15:54:28 -0700
Received: from [216.92.131.4] by hotmail.com (3.2) with ESMTP id MHotMailBEB8103D00534004310DD85C8304622C0; Fri, 24 May 2002 15:57:02 -0700
Received: (qmail 41049 invoked by uid 1010); 24 May 2002 22:56:42 -0000
Received: (qmail 39854 invoked by uid 1007); 24 May 2002 22:54:32 -0000
From php-general-return-99175-the_hou_guy Fri, 24 May 2002 15:57:14 -0700
Mailing-List: contact php-general-help@lists.php.net; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@lists.php.net>
list-unsubscribe: <mailto:php-general-unsubscribe@lists.php.net>
list-post: <mailto:php-general@lists.php.net>
Delivered-To: mailing list php-general@lists.php.net
Message-ID: <20020524225431.39844.qmail@pb1.pair.com>
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Posted-By: 66.214.14.119
Hello,
I have about 10 function definitions that I want included on every page in
my website. Instead of calling:
<? include( "myFunctions.php"); ?>
on every page, I'd prefer to have the functions automatically loaded into
memory when a user visits any page of my site. I was thinking that there may
be some what to do this with a root-level .htaccess file, but I'm not sure.
Can anyone offer a solution?
Thanks,
Darren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com