Jump to content
Sign in to follow this  
charliehoward

Error? Can someone help on my file upload to database connection.....

Recommended Posts

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

 

 

 

 

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.