Reply to Re: Restrictions using "rename"

Your name:

Reply:


Posted by Jerry Stuckle on 04/07/07 19:25

Luciano wrote:
> I have been programing in PHP recently. For this reason, I have lots
> of basic doubts. Let's see one of then. I'm developing in the
> localhost, so safety issues are not important. I have a script trying
> to rename some local files, however, PHP reports an error. I don't
> have permission to access that folder, therefore, it's not possible
> to do this task.
> I'm using pHP as a module of Apache (Apache2Triad). The variable
> "open_basedir" in PHP.INI is empty. I don't know what to do to get the
> permission.
> By the way, I would like to have the power of doing everything with
> PHP, without the safety restrictions. however, I don't know which
> lines I should change.
> If someone can help me, thanks very much!
>

This generally means the OS security is restricting access, not PHP.
What OS are you using? And does the Apache user have access to the
directories and files in question?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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