Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2003112

[PHP-WIN] Permission PHP IIS5.0 From: Luiz Miguel Axcar (lmaxcar <email protected>)
Date: 11/18/03

hello,

I'm having a problem with permissions to PHP in IIS 5.0. I'll be thankful if someone help me.

PHP (or user) doesn't have permission to write in a file with fopen($arquivo,"w"), delete file with unlink() or move_uploaded_file().

Errors:
Warning: fopen(D:\krakatoa\webroot\Corpsite\cms\admin\editor\novo.htm): failed to open stream: Permission denied in D:\krakatoa\webroot\Corpsite\cms\admin\EditorContentTransfer.php on line 33
============
Warning: move_uploaded_file(tux_puro_wallpaper.jpg): failed to open stream: Permission denied in D:\krakatoa\webroot\Corpsite\cms\admin\RandomPicture.php on line 20
==================
Warning: unlink(D:\krakatoa\webroot\Corpsite\cms\images\main_images\random_home\bd02.jpg): Permission denied in D:\krakatoa\webroot\Corpsite\cms\admin\RandomPicture.php on line 41

php.exe or user needs permissions?
Some idea?

Thank you very mutch.

Best regards,

Luiz Miguel Axcar
Campinas, SP, Brasil
+55 (19) 9749-6970
lmaxcar <email protected>
http://www.geocities.com/lmaxcar
The penguin never sleeps.