souless87 Posted March 18, 2009 Share Posted March 18, 2009 Hello new here looking for some help I'm trying to use fwrite on my new dedicated server but it doesn't seem to work mostly everything else works but this hasn't been $date = date("m/d/Y"); $file = "log.db"; $blah = fopen($file, "a"); fwrite($blah, "$date\n"); fclose($blah); PHP version: 5.2.6 The permissions are ok the file is there it can see the file when I used file_exists("log.db") it works on my computer when I run it in zend IDE any suggestions? thanks in advance Link to comment https://forums.phpfreaks.com/topic/149984-fwrite-doesnt-work/ Share on other sites More sharing options...
souless87 Posted March 18, 2009 Author Share Posted March 18, 2009 Update: it works when I change it to write on OTHERS all my other servers write with permission just on user how may I change this does anyone know? Link to comment https://forums.phpfreaks.com/topic/149984-fwrite-doesnt-work/#findComment-787686 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.