Re: including files outside of document root
| From: | Richard Lynch | Date: | Wed, 23 Jan 2008 23:29:44 +0000 |
| Subject: | Re: including files outside of document root | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267959@lists.php.net to get a copy of this message | ||
On Wed, January 23, 2008 3:19 pm, Jason Pruim wrote:
> Okay, so I have this mostly working now! if I put my
> ini_set("include_path", "blah/to/balh"); on each and every page. I
> know I could include a file that is in the document root which
> specified that, but I was wondering if I was missing something?
> Obviously other then changing the php.ini file?
Change php.ini or use .htacces (if you use Apache) or have ONE include
file in the webtree that does this and include that.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?