hi,
can someone tell how to upload a file in php.i want to know the difference betweeen uploading a file and storing it in a folder and uploading a file and storing in a database.i want to know which method is good
kings -7
Junior Poster
Recommended Answers
Jump to Postthe difference between them is when you store the data in the database it will slow the script and have a hard time fetching the data from the database.Best way is to store the data in a folder and save the path in the database.
There are may tutorials …
Jump to PostAs Ryan_vietnow has already suggested, uploading a file to the database is not a good idea. Upload it to the filesystem and save the path in the database. Check this link. …
Jump to PostWhat do you mean by not working ? are you getting any error ?
Jump to Post<form method="post" action="resumeinsert.php" >
There is no enctype in your form. You need enctype when you are using input type=file.
All 13 Replies
ryan_vietnow 13
Posting Pro
kings -7
Junior Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
kings -7
Junior Poster
kings -7
Junior Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
kings -7
Junior Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
kings -7
Junior Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
kings -7
Junior Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
mohamedsafiq -2
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.