<? $fp = fopen ("EmailListNew.txt", "w"); $fpSend = fwrite($fp,"The file is created on Linux"); fclose ($fp); echo ("File write test over"); ?>
This is piece of my code, It is executing without any error but file is not getting created. I tried the read mode, it is ok. That means the directory does not have write permission. But then how to set it ? My server is Red Hat Linux and I am using PHP4. Can I set it thr PHP or do I need to do settings at Linux server ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php