so I would like to write to file on my local box. $fp = fopen($filename, "w"); fwrite($fp, "whatever"); I get a permission error. I've looked but I don't see how to chmod. It worked on my ISP after CHMOD so it's not the code. using: windows xp and iis 5 -- gil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php