file upload extension problems

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
daveshoope
Forum Newbie
Posts: 8
Joined: Thu Aug 06, 2009 10:28 am

file upload extension problems

Post by daveshoope »

I am building a script to upload files to my server through a form, but if I dont append the extension of the file in my script, the file gets uploaded without an extention.

Please how do I make it read the extension automatically. (just like you dont specify extensions in Yahoo Mail attachments).
Thanks
Post Reply