I have so many problems I don't even know where to begin. The one problem that always gives me a hard time is paths.
example: index.php is in the root directory of my website and has the following line in it:
include(http://www.mine.com/main/file.php);
This produces all sorts of errors.
If I put file.php in the same directory as index.php and do this - include(file.php) it works like a charm.
So why when I give it the exact path to the file does it not work?
This is only one example. It got so bad that I just started putting every file in the root directory. This is really messy, but I don't have any idea how to correct this problem. If giving it the exact path does not work - then I'm at a loss.
Can someone please shed some light on this as this (and some other problems) is really causing me to loose interest in PHP.
I also have some real issues with sessions, but one thing at a time I guess.
Thanks