News Feed
Jobs Feed
Sections




News Archive
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

Anthony Ferrara: What Generators Can Do For You

Chris Ravensroft's Blog: How To Setup PHP5 with Tomcat 5

SitePoint PHP Blog: How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler

Christopher Jones' Blog: Upgrade PHP with Oracle Application Server on Linux

Lorna Mitchell's Blog: Status Codes for Web Services


Community Events











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


phpunit podcast development unittest zendframework2 series interview community example opinion code functional tool object framework conference release testing language introduction

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