saving uploading files on the server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mr_burns

    saving uploading files on the server

    hi,

    i am about to start writing a script that uploads files to my server.
    the code for the form i want to use is:

    <form enctype="multip art/form-data" action="savefil e.php"
    method="post">
    <input type="hidden" name="MAX_FILE_ SIZE" value="30000" />
    Send this file: <input name="userfile" type="file" />
    <input type="submit" value="Send File" />
    </form>

    using the action script (savefile.php), how do i them save the file in
    a folder on the server?

    cheers

    burnsy
  • Henrik Hansen

    #2
    Re: saving uploading files on the server

    mr_burns wrote:[color=blue]
    > hi,
    >
    > i am about to start writing a script that uploads files to my server.
    > the code for the form i want to use is:
    >
    > <form enctype="multip art/form-data" action="savefil e.php"
    > method="post">
    > <input type="hidden" name="MAX_FILE_ SIZE" value="30000" />
    > Send this file: <input name="userfile" type="file" />
    > <input type="submit" value="Send File" />
    > </form>
    >
    > using the action script (savefile.php), how do i them save the file in
    > a folder on the server?
    >
    > cheers
    >
    > burnsy[/color]

    read the manual:



    --
    Henrik Hansen

    Comment

    Working...