Jump to content
Killersites Forums

kre8tiveart

New Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by kre8tiveart

  1. ok thats sounds great. I'm thinking that this would make it easier for me to display the files for the users, with option of downloading or deleting there files. My question now is how can I go about coding all of what you said? Could you help me with the coding instruction. After registering I just made a directory with the users username before. but I don't know how to code the process of upload to table in database(MYSQL) prefixed with username/id. And then read from there.
  2. Ok thanks. I found a way to upload the files to a directory and also how to read into the directory and display the files from the directory using this function: <?php if ($handle = opendir('.../uploads')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; } } closedir($handle); } ?> Also, I can download a particular file from directory using this function <?php $file = '...upload/Thumb.png'; if (file_exists($file)) { header('Content-Description: File Transf
  3. I have been watching the PHP tutorials and they are great. I am currently a student and we have to create an "online inventory system", using our computer as a server and host instead of an actual host online. We have to let the users REGISTER an account, UPLOAD FILES and RETRIEVE THE FILES. I have been watching the PHP videos. I have set up the LOGIN SYSTEM using the video you did for login and now i need to know which videos to watch to learn how to create a directory for the newly registered user and display items from their directory after they upload items, on a page after they login.
×
×
  • Create New...