better error handling

This is a discussion on better error handling within the PHP Language forums, part of the PHP Programming Forums category; Stijn Goris wrote: > hi all, > > I cannot pass the of(move_uploaded_file($_FILES["imagefile"]["tmp_name&...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-09-2003
Matty
 
Posts: n/a
Default Re: better error handling

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.
Reply With Quote
  #2 (permalink)  
Old 09-09-2003
Stijn Goris
 
Posts: n/a
Default better error handling

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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0