Menu
would like to know why the following code block doesnt work?
(text files in the corresponding positions) it cant find the file when the last block does with the exact same string?
[CODE]
…
$comments = fopen(“/stuff/comments.txt”,”a”);
fputs($comments, $txt.”rn”);
…
and why these do work?
[CODE]
…
$comments = fopen(“comments.txt”,”a”);
fputs($comments, $txt.”rn”);
…
[CODE]
…
define(“CV_DIR”, “/stuff/comments.txt”);
$comments = fopen(“CV_DIR”, “a”);
fputs($comments, $txt.”rn”);
…
thanks,