On Monday, December 30, 2002, at 04:34 PM, Stephen wrote:
I'm running the CHMOD function and I get this error:Hm. It looks like you're trying to chmod a variable that hasn't been defined yet. Try switching your statements, so that you have:
Warning: chmod() [function.chmod]: Permission denied in c:\inetpub\wwwroot\chatness2\admin\save.php on line 13
I'm running IIS 5 which may be causing it. Here's my code:
chmod($file, 0666);
$file = $HTTP_GET_VARS['file'].".html";
$file = $HTTP_GET_VARS['file'].".html";
chmod($file, 0666);
And let us know what happens.
--
Chris Garaffa
<[EMAIL PROTECTED]>
http://moondrop.heli0s.net -- coming whenever heli0s pays his bill
If you give someone a program, you will frustrate them for one day.
If you teach someone how to program, you'll frustrate them for a lifetime.