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