Welcome to the tutorials of Pure PHP Upload 2.
In this list of tutorials you will learn how to create a file upload, restrict certain files or sizes of files from being uploaded, upload files and insert them in a database and much more...
In this list of tutorials you will learn how to create a file upload, restrict certain files or sizes of files from being uploaded, upload files and insert them in a database and much more...
In this tutorial we will explain how to upload files and other fields and save those to a database. The files will be saved on the server and their names and the other form fields will be saved in the database.
To make file upload and insert a record, you need to:
Select your database connection and table where you want to save the data in.
Assign all the entry fields from the form to the corresponding fields in your database.
Enter a redirect page at After Inserting, Go To this will be the follow up page.
Click OK to insert the server behavior.
Choose upload folder, Images only but don't enter a redirect url in the Go To field. This is because you already have a redirect in the Insert Record server behavior.
To read more about uploading images read Allowing only images upload tutorial.
To read more about limiting the image size read Restricting image width and height tutorial
George Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. The most popular for its over high-quality Dreamweaver extensions and templates.
George is also the founder of Wappler.io - the most Advanced Web & App Builder