Currently I upload an image to an image folder on my Server like so:
<html>
<body>
<form enctype="multipart/form-data" action="upload.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="300000" />
Send this file: <input name="userfile" type="file" width="500" height="500" />
<input type="submit" value="Send File" />
</form>
</body>
</html>
$dest="thumbs/".$_FILES[userfile][name];
rename($_FILES[userfile][tmp_name],$dest);
$_FILES[userfile][width];
$_FILES[userfile][height];
echo "$userfile uploaded successfull";
It doesn't save my picture to my DataBase, and doesn't do any resizing once I view them. I followed a tutorial yesterday, and it didn't give me the result I wanted.
My question actually is, do I need a add on, or something else loaded before I can handle, and manage my images in php?