News Feed
Sections




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

DevShed:
Reading, Writing and Creating Files in PHP
August 23, 2006 @ 08:59:30

DevShed has a new tutorial posted today with a look at one of the more common tasks performed with PHP (second to generating web pages, of course) - working with files. It can be a little tricky for a budding PHP programmer, but they've got the info you need to get started.

Reading and writing to files can be useful if you do not require the storing of important data, such as a web counter. I must warn you though, that this method of storage should not be used to store passwords and other critical information, as it is not safe. Here we will discuss how to handle files and directories in PHP, specifically, how to create, read and write them.

They start off with a look at file permissions on both Unix and Windows systems ot give you an idea of what problems they could cause. Then, it's on to the actual files themselves - for this part, though, they only look at reading them in and working with their contents.

0 comments voice your opinion now!
tutorial reading writing creating files part1 permissions tutorial reading writing creating files part1 permissions


blog comments powered by Disqus

Similar Posts

MaltBlue.com: Zend Framework 2 ServiceManager - Web Application Development Simplified

ProDevTips.com: Ajax, ZF and Smarty feed reader - part 1

DevShed: Using Code Igniter to Enable Comments in a Blog Application

Asvin Balloo's Blog: AJAX image cropper with YUI and PHP

Till Klampaeckel's Blog: Iterating over a table (with Zend_Db_Table and Zend_Paginator)


Community Events

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


interview language laravel community api library introduction podcast unittest psr7 extension opinion series release framework voicesoftheelephpant video conference development laravel5

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