Jump to content

PHP File Upload System & echo dir link? (help plz)


Darkwoods

Recommended Posts

hi im trying to intergate with my curently form an simple file upload system...

 

what i want to do is when i upload the file i want it to send the location dir of where the file is uploaded into mmysql database would anyone please help on where to start?

 

 

thank you

Yeah, after you've uploaded it you have the filename so you could just go:

 

echo "http://www.link.com/file/".$_FILES['filebox']['name'];

 

Once you have uploaded the file, you should have the directory and the name of the file. It shouldn't be too hard to echo out the address of the file.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.