News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Nessa's Blog:
Working with Permissions in PHP
December 24, 2007 @ 09:22:00

On her blog Nessa has a brief look at working with permissions with PHP via three functions - chown, chgrp and chmod.

PHP uses the same command as *nix systems when dealing with changing permissions for files. These commands are particularly useful in situations where PHP runs as a different user on the system, which is common when PHP is compiled as an Apache user.

She includes a basic syntax for each of them and how one (chmod) could be used in an example of file creation.

1 comment voice your opinion now!
permissions chmod chgrp chown function file permissions chmod chgrp chown function file


blog comments powered by Disqus

Similar Posts

Experts Round Table: HTTP Headers and the PHP header() Function

Hasin Hayder's Blog: Counting occurrence of a word in a String - Benchmarking of PHP functions

Jeremy Johnstone's Blog: PHP parser for OS X plist XML files

OpenIdeasCompany.com: Redeclaring native PHP functions

Raphael Stolt's Blog: Validating XML files within PHP 4 applications


Community Events

Don't see your event here?
Let us know!


language series unittest release library version framework opinion laravel5 video api php7 introduction list example laravel podcast voicesoftheelephpant interview community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework