Earlier, I was at a point where it would get to the uploads.php page after taking a long time to load, and error out that the $_FILES array wasn’t defined. So I went back to my display functions, added in some missing quotes, and added in a missing forms tag. Also erased out all the resizing and checking stuff in upload.php, and just asked it to confirm whether or not anything was getting through. When I try to upload, the page just loads over and over.
I dont see anything in there that would be looping… but you mention something called “preupload.php” and i dont… see a reference to that file in any of your other codeblocks… so you’re not showing us something.
Be aware when using that tutorial that the mysql_* functions that it uses have been deprecated as of version 5.5 of PHP and are being removed from version 7 of PHP
it does use those arrays. i just went ahead and deleted the code that used it. but even when i did have that code up, i was still getting the the forever loading.