Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function image_upload($name, $tmpname) {
- move_uploaded_file($tmpname, "upload/" . $name);
- // echo "Stored in: " . "upload/" . filename;
- return "upload/" . $name;
- $var = move_uploaded_file($name, $tmpname);
- if($var == false) {
- echo "FALSE!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement