View Full Version : Directory Structure Problem!

Mar 13th, 2009, 11:51 PM
include './includes/login.inc.php';
this works in the same scenario just a different folder yet

this one doesn't work
include './classes/membership.cls.php';

yes spelling is correct i have checked so many times

I dont no what is going on please help

i have also tryed require and require_once
do you think it could be because of the name of the file or the directories or the content in the files?!?

i was searching google and one guy said it could be the folder permissions. i have no idea about messing with that or were to start but i am running xamp,

hope that extra inf helps

Mar 14th, 2009, 04:01 AM
This is a PHP issue, not HTML or CSS.

So your folder structure is:

+ includes
| |
| \ some files (including login.inc.php)
+ classes
| |
| \ some files (including membership.cls.php)
...more stuff


How do you know it doesn't work. What's happening? Error messages?