charliehoward Posted December 28, 2015 Share Posted December 28, 2015 Hi there, I am obviously quite new to PHP and I am developing a website for practice, I am creating an upload image page on my site where users can upload images into the database, but I keep getting this error? I am confused because included my connection file at the top like the other files but this one is creating an error?? Access denied (password NO) Stack 89 Quote Link to comment https://forums.phpfreaks.com/topic/300033-error-can-someone-help-on-my-file-upload-to-database-connection/ Share on other sites More sharing options...
maxxd Posted December 29, 2015 Share Posted December 29, 2015 Clearly it's going to be difficult for anyone to help when you've not posted any code. Just make sure you remove your database credentials before posting here. While I'm here, though; I don't know if it's semantics or your actual plan, but you don't want to store the actual images in a database. Use PHP to upload the image to a directory on the server, and store the file path in the database. Quote Link to comment https://forums.phpfreaks.com/topic/300033-error-can-someone-help-on-my-file-upload-to-database-connection/#findComment-1528802 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.