Hey,
I'm trying to write a script that looks for my log file. If the file isn't there, it should create a new one. I can't seem to find a php filesystem function to do this? Is there one? This is where I'm at:
Code:$sLog = "log.txt"; if(!file_exists($sLog)) { //create the file }








Bookmarks