Im trying to open a txt file to write into it . heres the warning : Warning: fopen(C:\inetpub\wwwroot\testFile.txt): failed to open stream: Permission denied in C:\inetpub\wwwroot\get.php and heres the code $fh = fopen("C:\\inetpub\\wwwroot\\testFile.txt" , 'w'); fwrite($fh, "PHP"); what am I missing ?
|+0 forum 1|
So when I attempted to tag an untagged article, I received a message about not having permission to delete existing tags - of which there were *none*.... Is this a feature or by design? Thanks, JK
|+0 forum 5|
Hello there. I would like to know if there is a way to write files to my server without CHmodding a certain directory. I have an auto-update script that downloads a .ZIP from my main server, and then extracts those file to the corresponding directories on the current server. However, I'm getting a permission denied error: Warning: ZipArchive::extractTo(../../../../index.php) [ziparchive.extractto]: failed to open stream: Permission denied in /var/www/vhosts/cms.com/httpdocs/cms/includes/modules/update/actions/update.action.php on line 149 I don't get this error after CHmodding the directory to 0777. But I don't want to CHmod ALL my directories. That wouldn't be safe, would it? Is there a workaround? …
|+0 forum 2|