PHP Upload Scripts

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

    PHP Upload Scripts

    Whenever I use upload scripts there is always one problem, It always
    just "refreshes" the screen when I press upload. I think I heard this
    was because of a problem with the newer versions of PHP and some
    security things. If anybody knows how to allow uploads, please
    respond.
  • MeerKat

    #2
    Re: PHP Upload Scripts

    I'm presuming you mean file uploads. If so, make sure you have
    enctype="multip art/form-data" in the <form> tag.

    <form enctype="multip art/form-data" action="upload. php" method="post">
    ...
    </form>

    MK.

    Rand wrote:
    [color=blue]
    > Whenever I use upload scripts there is always one problem, It always
    > just "refreshes" the screen when I press upload. I think I heard this
    > was because of a problem with the newer versions of PHP and some
    > security things. If anybody knows how to allow uploads, please
    > respond.[/color]

    --
    MeerKat

    Comment

    Working...