go to:

http://www.php.net/manual/en/configuration.php

and look for "auto_prepend_file"

-jerome
----Original Message Follows----
From: "Darren Gates" <[EMAIL PROTECTED]>
Reply-To: "Darren Gates" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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 [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
list-post: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to