News Feed
Sections




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

DevShed:
Handling File Data with PHP (Reading & Seeking)
December 01, 2011 @ 10:09:14

DevShed has posted the fifth part of their "handling files in PHP" tutorial series today (excerpted from the book "Beginning PHP and PostgreSQL 8: From Novice to Professional") with a focus on read from multiple places in a file to get to different data.

In this fifth part of an eight-part series on working with file and operating systems with PHP, you'll learn how to read data from a file and move the file pointer.

Example code is included showing how to use the file, file_get_contents, fgetc, fgetcsv, readfile and fscanf (among several others). Also included is code showing how to use the fseek method to move around in a file.

0 comments voice your opinion now!
tutorial file handling read seek move


blog comments powered by Disqus

Similar Posts

php|architect: Using the PEAR Installer (Parts 1 & 2)

Stefan Mischook's Blog: Connecting PHP to MYSQL Video Tutorial

Android Hive: Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL

HowTo Forge: Installing The PHP-MSSQL Module On CentOS 5.0

Developer.com: Combining an Oracle Database with PHP to Manage Data


Community Events

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


podcast composer interview configure part2 api example release php7 community introduction opinion framework conference series symfony2 performance laravel application voicesoftheelephpant

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