Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
05 File Handling Upload MYSQL

05 File Handling Upload MYSQL

Ratings: (0)|Views: 30 |Likes:
Published by Geshan Manandhar

More info:

Published by: Geshan Manandhar on Feb 20, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

01/08/2013

pdf

text

original

 
GeshanManandhar.comGeshanManandhar.com11
PHP Day 05PHP Day 05
Geshan ManandharGeshan ManandharDeveloper,Developer, Young Innovations Private Limited Young Innovations Private Limitedwww.geshanmanandhar.comwww.geshanmanandhar.com
http://www.php.net
 
GeshanManandhar.com 2
PHP File Handling FuncitonsPHP File Handling Funcitons
Fopen(“path\\to\\file\\file_name.ext”, “mode”);Fopen(“path\\to\\file\\file_name.ext”, “mode”);
Returns a resource.Returns a resource.
$handle = fopen("c:\\data\\info.txt", "r");$handle = fopen("c:\\data\\info.txt", "r");
 
GeshanManandhar.com 3
Other PHP file relatedOther PHP file relatedFunctionsFunctions
$handle = fopen(“test.txt”, “w+”);
fgetsfgets
( resource $handle [, int $length] );( resource $handle [, int $length] );
fwritefwrite
( resource $handle, string $string );( resource $handle, string $string );
feof feof 
( resource $handle );( resource $handle );
fclosefclose
( resource $handle );( resource $handle );
file_existsfile_exists
( string $filename_with_path );( string $filename_with_path );

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
IhsanMedia Corp liked this
14ndcc liked this
Aram Harutyunyan liked this
snykmca liked this
Nor Azlan Ali liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->