davidolivamailx Posted November 11, 2009 Share Posted November 11, 2009 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 Link to comment https://forums.phpfreaks.com/topic/181118-want-a-code-for-uploading-and-downloading/ Share on other sites More sharing options...
ThunderLee Posted November 11, 2009 Share Posted November 11, 2009 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 Link to comment https://forums.phpfreaks.com/topic/181118-want-a-code-for-uploading-and-downloading/#findComment-955589 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.