By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

file handle operation

P: 2

I have a question, How does PHP read a file. I know that by using PHP file handle we can write or read a file. but how the file handle operates when file handle is used
Apr 20 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 5,058

What do you mean? Are you asking how PHP handles it internally, or how you should use the file handle to read/write to a file?

If it's the latter, check out the Filesystem functions in the manual. - Of those, the most notable functions would be fopen, fread, fwrite, fclose. - They all come with pretty decent examples, so it should get you started.
Apr 20 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.