By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,965 Members | 1,702 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,965 IT Pros & Developers. It's quick & easy.

better error handling

P: n/a
hi all,

I cannot pass the of(move_uploaded_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
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Stijn Goris wrote:
hi all,

I cannot pass the of(move_uploaded_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


if you print out the contents of $uploaddir.$_FILES['imagefile']['name']
you'll find that it's not what you expected, I think.
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.