Search found 2 matches
- Wed Mar 03, 2010 8:00 pm
- Forum: PHP - Code
- Topic: root filepath reference in php
- Replies: 2
- Views: 880
Re: root filepath reference in php
Thank you. I wasn’t clear. By "/[rootfolder]", yes, I meant “the root of where the website will be”, not the computer’s root directory which would indeed not make sense. The leading "/" does direct the html call to the website's root directory, and I was asking for an equivalent ...
- Wed Mar 03, 2010 4:56 pm
- Forum: PHP - Code
- Topic: root filepath reference in php
- Replies: 2
- Views: 880
root filepath reference in php
Is php’s filepath naming convention different than html’s for "/[rootfolder]"? With picture1.jpg and menubar.php in the same “resources” folder, this line in anyfile.php calls the picture file just fine -- <img src="/resources/picture1.jpg"> -- but the very next line -- <?php inc...