Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($_POST['MAX_FILE_SIZE'] >= $_FILES['imagefile']['size']) {
- $file = stripslashes($_FILES['imagefile']['name']);
- $extension = get_extension($file);
- $extension = strtolower($extension);
- $file_name = time().".".$extension;
- @copy($_FILES['imagefile']['tmp_name'], "uploads/".$file_name);
- This is the part which gets the image file and upload it to desired location...
- // now i wanted to implement the ImageResize from the ImageResizeUpload.php and that has to be added or called to the script above. I hope i make sense
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement