Jump to content

want a code for uploading and downloading


davidolivamailx

Recommended Posts

i m trying to upload and download to my site..i need upload and download code ...i use a code for upload but that is not working actually..i don't know what is the problem.when i upload a file and give the server location for download and then some times that is going to download ans some times not  working

I'm not quite understanding what your saying..

 

Your saying you have a upload and it "sometimes works?" If you have a upload then its really easy to do a download, you have to obtain the file location from the database.

 

EG.

 

your colum in the database is "filelocation"

 

qry = mysql_query("SELECT * FROM tablename WHERE tablename='something'") or die(mysql_error());

 

".qry['columnname']."... in your case it could be ".qry['filelocation']."

 

Please provide some code I can't seem to work without some code :P

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.