Madbones wrote:
The htdocs folder is somewhere in the library (or some other folder) I think, which explains why I have problems.
Heh, yes indeed. That explains much.

Web server root directories are not accessible by just anyone for good reasons!
You'd better restore those permissions you'd changed and use sudo to copy your file from a working directory off ~/ and into htdocs, as required.
Quote:
I cannot control where XAMPP reads the htdoc folder from. So It needs to stay where it is (Unless I can unlock the no matter what greyed out preferences button.)
You could edit httpd.conf (or XAMPP's equivalent) to change this, but it's probably not a good idea to depart from pretty standard directory layouts and permissions.
_________________
Giraffe: a ruminant with a view.