etm124 Posted September 30, 2007 Share Posted September 30, 2007 <? $fd = fopen("log.txt","a") or exit("Unable to open file!"); fwrite($fd, "hi"); ?> i keep getting the exit error. im running php 5 on a centOS 5 box. any suggestions? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/71281-solved-simple-fopen-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.