PDA

View Full Version : path file



LiNuX
10-27-2006, 06:56 PM
ok i have a question, if im running a script, and it asks for a path file, and if the folder i want the script to affect is in public_html folder called forum, what should my path be? shouldnt it be /home/username/public_html/forum?? im having a kinda problem here, help appreciated, its not responding to that one, also tried /public_html/forum and /home/public_html/forum and /username/public_html/forum

crazay
11-16-2006, 01:05 PM
wow i dont know anything about what ur talking about lol, did u get it fixed though? its been up here for a while, thought i would ask ;)

EvilDude
12-21-2006, 03:14 AM
Create a php file called test.php with...

<?
include 'test.txt';
?>

...in it.

Stick it in your root folder. Go to that file via your browser.

It will come up with something like:

failed to open stream: No such file or directory in ?

? = site path of where the test.php file is

LiNuX
12-21-2006, 05:23 PM
oh lol, i got it, didnt notice this topic was still open, ran the script, works fine, thanks guys, topic closed :D