I've considered that route, but an issue I have with that is I do most
of my development work on a machine that a different directory structure
than the production server (currently a Cobalt RaQ4), so the paths are
different. Accommodating both would be a time consuming project for me. 

On Sat, 2003-03-29 at 14:47, Jason Paschal wrote:
> try using an absolute path.
> 
> 
> 
> 
> 
> 
> >From: Greg Macek <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: [PHP] require/include from a different directory
> >Date: 29 Mar 2003 14:19:41 -0600
> >
> >Hi,
> >
> >I'm having a problem hopefully can be easily answered. I'm trying to
> >organize parts of my site into different directories so that they're all
> >not in the "main" folder so to speak; basically breaking out by what
> >part of the application it is. I also have an "include" folder for all
> >my main functions and such...
> >
> >/          (main directory)
> >/include   (global functions, includes)
> >/app_sect1
> >/app_sect2
> >
> >what I'm trying to do from /app_sect1 is include a file from the
> >"include" directory, but with little success. The line looks like this:
> >
> >require "../include/inc_file.php";
> >
> >But my page just doesn't work for me now.. any ideas what I'm missing?
> >
> >- Greg
> >
> >
> >
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> 
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail



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

Reply via email to