Advertisement
Sparkster

Untitled

Jul 24th, 2013
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. function image_upload($name, $tmpname) {
  3.         move_uploaded_file($tmpname, "upload/" . $name);
  4.         // echo "Stored in: " . "upload/" . filename;
  5.         return "upload/" . $name;
  6.         $var = move_uploaded_file($name, $tmpname);
  7.         if($var == false) {
  8.         echo "FALSE!";
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement