I am trying to test the ArdGuest - Free PHP Guestbook Script on a production server before installing on website.
I get the fllowing PHP Warning: fopen(ardgb18.dat) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in C:\CustomerData\shopdemo.webitry.net\index.php on line 419
View at www.shopdemo.webitry.net\index.php
I have marked line 419 in the code below.
What is causing the error and how can it be corrected?Code:if (!is_spam($newdata)) { line 419 $tambah = fopen($data_file,"a"); if (strtoupper($os)=="WIN") { if (flock($tambah,LOCK_EX)) { fwrite($tambah,$newdata); flock($tambah,LOCK_UN); }


Reply With Quote

Bookmarks