Ok ok, I admit, I'm a newbie. but I have been looking at this for 2 days reading the manual trying to figure it out. here's what i would like to have happen
i have a .txt file on my server. the contents of the file is "15" thats it, just the number 15. I think it won't be hard to increment it. but reading the file and trying to echo it doesnt work. here's a snippet of the code.
$filename = "http://www.ask-it-here.com/questions/questioncount.txt";
$whattoread = @fopen($filename, "r") or die("Couldnt Open file");
$count = fread($whattoread, filesize($filename));
fclose($whattoread);
and then later i echo it. the echo does nothing...