# HTML/PHP Upload

**URL:** <https://forum.kirupa.com/t/html-php-upload/55206>\
**Category:** programming\
**Created:** [June 22, 2004, 1:01am UTC](https://forum.kirupa.com/t/html-php-upload/55206 "2004-06-22T01:01:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boom\_dk](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@Boom\_dk](https://forum.kirupa.com/u/Boom_dk)\
**Post date:** [June 22, 2004, 1:01am UTC](https://forum.kirupa.com/t/html-php-upload/55206/1 "2004-06-22T01:01:22Z")

</div>

Hi! I want to be able to upload files through my homepage. I’ve looked at some upload scripts but i didn’t understand just a bit. I also want to sepperate the filename from the original path so that it can be placed in a directory depending on contents.

Say, you have a drop down menu where you can choose if file is type1, type2 or type3. I have 1 directory for each type on my server.  
Next a button called browse used to find the file on the pc.  
Then the upload button.

then i want the file to be uploaded and placed in one of those three directories with the same filename as on the pc.

Can ANY of your guys help me?
