file handle operation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • laxmis
    New Member
    • Apr 2010
    • 2

    file handle operation

    Hi

    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
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hey.

    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.

    Comment

    Working...