Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: how to save and read text file in PHP..? need help asap...  (Read 3025 times)

0 Members and 1 Guest are viewing this topic.

oliverzimmerman

    Topic Starter


    Newbie
    Hi...

    in PHP code,
    How can I save text? and to read text file and fill in text area?
    can you please share just a piece of code....I really need it..asap!!!


    thanks in advance....



    michaewlewis



      Intermediate
    • Thanked: 26
      • Yes
      • Yes
    • Experience: Expert
    • OS: Unknown
    Re: how to save and read text file in PHP..? need help asap...
    « Reply #1 on: May 20, 2008, 01:14:10 PM »
    use the fwrite function to save the text file
    fopen to read the text file and input the array into your text area