Image Upload Server-side Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hotblooded
Forum Newbie
Posts: 19
Joined: Wed Sep 24, 2008 10:14 am

Image Upload Server-side Script

Post by hotblooded »

I'm trying to have a form that allows a user to add a record to a table and upload an image at the same time. Is this possible? I want the filename to be recorded in the table as well. I've looked everywhere and all I keep finding is that I need to create a server-side script to handle the upload, but have yet to find any examples.

Any thoughts?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Image Upload Server-side Script

Post by requinix »

If you can't find examples then you're not looking very hard.
Try this place.
hotblooded
Forum Newbie
Posts: 19
Joined: Wed Sep 24, 2008 10:14 am

Re: Image Upload Server-side Script

Post by hotblooded »

Yeah...not quite what I meant...that doesn't tell me how to record the filename in a table...

I'm using phpmyadmin, by the by...

Thanks
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Image Upload Server-side Script

Post by requinix »

Can you do the "add a record to a table"? It's the exact same thing.
If you can't then keep looking for examples.
Post Reply