PHP problem ->MrSahaf.com

From: Date: Thu, 24 Apr 2003 11:35:27 +0000
Subject: PHP problem ->MrSahaf.com
Groups: php.general 
Request: Send a blank email to php-general+get-145137@lists.php.net to get a copy of this message
Hi guys, Have a little problem, I have a guestbook at http://mrSahaf.com and everytime someone enters their entry into the guestbook they get this warning: Warning: unlink(index.html) [function.unlink]: Permission denied in /mrsahaf/public_html/GB2/lib/add.class.php on line 80 Here are the lines from 79-81 (I can send you the whole file if needed): if ($tmpfile[0] < (time()-$cachetime)) { if (unlink($file)) { $delfiles ++; Other than that that whole thing is working perfectly....adding to the guestbook etc etc How to take out that ugly warning? Thanks in advance. Cheers, -Ryan

« previous php.general (#145137) next »