RE: [PHP] On more time with PATHS!
| From: | Jack Dempsey | Date: | Mon, 21 Apr 2003 18:33:37 +0000 |
| Subject: | RE: [PHP] On more time with PATHS! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144685@lists.php.net to get a copy of this message | ||
Hey C.R.,
I've found the easiest way to include files is just to have them in an
include directory.
If you _need_ to have them in various directories, then you'll have to keep
track of them nicely with some
variables and setting them appropriately...
as far as the simple case of including a file thats in teh same directory,
it really should be easy...
did you try looking into possible permissions issues and at php.net/include
?
good luck,
jack
> -----Original Message-----
> From: C.R. [mailto:odcs@rogers.com]
> Sent: Monday, April 21, 2003 2:08 PM
> To: PHP General
> Subject: [PHP] On more time with PATHS!
>
>
> You guys are probably getting tired of reading my emails, but this
> path/include problem is just never ending. I don't even know how
> to explain
> the problem because I don't understand it. I am simply trying to include
> files that are in the same directory or directory structure, but no matter
> what I do I get the same damn message that this or that file can't be
> found - I have tried giving it the exact path, the exact url, and anything
> else I can think of - but somewhere along the line - some file won't be
> found.
>
> I think the problem is this, but I have no idea how to solve it. If I
> include a file which also includes other files - then the path structure
> somehow gets screwed up. How do I keep them straight through multiple
> includes and directories. I don't know if I am making any sense - but this
> is my last ditch effrot on this before I move on to some other
> way of doing
> this - whether it be java, asp, or whatever.
>
> Everyone in here has been great, but I am to the point now where I am just
> fed up with PHP because of this bloody issue.
>
> Thanks
>
> C.R.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>