Reply to Re: Chmod

Your name:

Reply:


Posted by Jerry Stuckle on 04/05/06 16:05

Chris H wrote:
> I have a semi related chmod question that i think i know the answer too
> alredy but just want to be sure...
>
> Is it possible using PHP to set the permissions on a folder created from
> within a php application...
>
>

Depends on your hosting company. If they allow it, yes.

If the php application created it, the owner will be the user running the
application - in the case of a web application, it would be the webserver's
userid. So the application would be able to chmod the directory.

However, if the directory is created by ftp (as another user), no, you won't be
able to chmod the directory - at least not without going through a lot of hoops.

--
==================
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

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