better error handling

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

    better error handling

    hi all,

    I cannot pass the of(move_uploade d_file($_FILES["imagefile"]["tmp_name"],
    $uploaddir . $_FILES["imagefile"]["name"])) statemet and need some more
    clear errorhandling besides the TRUE FALSE story. Can PHP telll me more in
    detail why he returns a FALSE?

    kind regards
    Stijn


  • Matty

    #2
    Re: better error handling

    Stijn Goris wrote:
    [color=blue]
    > hi all,
    >
    > I cannot pass the of(move_uploade d_file($_FILES["imagefile"]["tmp_name"],
    > $uploaddir . $_FILES["imagefile"]["name"])) statemet and need some more
    > clear errorhandling besides the TRUE FALSE story. Can PHP telll me more in
    > detail why he returns a FALSE?
    >
    > kind regards
    > Stijn[/color]

    if you print out the contents of $uploaddir.$_FI LES['imagefile']['name']
    you'll find that it's not what you expected, I think.

    Comment

    Working...