html form/code to upload a file into a table
I am using the membership module (but I think this is universally applicable) but I have built a form that facilitates the user updating their information but I also wanted them to be able to upload a profile photo - I found this in the forums: http://www.interactivetools.com/forum/forum-posts.php?postNum=2216744#post2216744 but I am doing this in bootstrap 3 and wondered if there was an updated, non-iframe version of this ability running around somewhere before I go back an recreate the wheel. In my case, I only want them to be able to upload a single photo that I will resize to be like 125x125 (or maybe 150).
Thanks so much, you guys are always so helpful.
We're still using the iframe method to upload items. I've attached the latest versions of them to this post.
uploadForm3_add.php gives you an example of how you would create a record and save the uploaded images to the record after it's created.
uploadFrom3_edit.ph gives you an example of how you would edit a record and edit the images uploaded against it.
uploadFrom3_iframe.php - The iframe that will be embedded in both of the pages above.
PHP Programmer - interactivetools.com