Hi,
I have problem on my script when running chmod():
if (!chmod($temp_fileName, 0777))
{
echo "<p>*lit-genStatic-a Fail to chmod temporary file: $temp_fileName</p>";
exit();
}
else
{
$tempfile = fopen($temp_fileName, 'w');
}
Warning: chmod() [function.chmod]: Operation not permitted in /home/booknow1/cm/ed/genStatic.php on line 162
What to do?
Thanks