You are here: Re: Permission problems with unlink() « PHP Programming Language « IT news, forums, messages
Re: Permission problems with unlink()

Posted by Benjamin on 12/17/92 11:56

I figured it out. It was stupid really. I had opened the file with
fopen() without running fclose() before trying to unlink() it. Thanks
for your help though.
Alvaro G. Vicario wrote:
> *** Benjamin escribió/wrote (19 Aug 2006 11:04:15 -0700):
> > I'm sorry I forgot to mention that I'm running windows.
>
> Then right click on the icon in Windows explorer, select "Properties", find
> the "Security" tab and set permissions accordingly.
>
>
> >> This could be a permission issue. To unlink a file your webserver must
> >> have the permissions to remove it. Most likely your apache is running
> >> as user 'apache', so the file you are removing must either be owned by
> >> user/group apache, or have permissions to be removed by any user (666 /
> >> 777).
>
>
> --
> -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programación web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация