home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomePHP CookbookSearch this book

18.2. Creating or Opening a Local File

18.2.2. Solution

Use fopen( ):

$fh = fopen('file.txt','r') or die("can't open file.txt: $php_errormsg");


Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.