Friday, November 22, 2013

Memory Curios

  1. Life Without Memory: The Case of Clive Wearing; Part 1a, 1b, 2a, 2b, 2c, 2d 
  2. Forgot password: 1, 2, 3
  3. Test PHP mail on localhost: 1, 2 (generate app specific password for gmail and use it in sendmail.ini)
  4. PHP mail on the server: ssmtp, php dot ini
  5. PHP debugging: 1
  6. Internet media types: 1; PHP File Upload: 1, Deny Access to Server Directory: put "Options -Indexes" in a .htaccess file inside the directory; Download file from server: 1
  7. For downloading with correct mime extension, use finfo_file(); on windows you need to uncomment "extension=php_fileinfo.dll" in php.ini and then restart Apache
  8. Typing speed: 1; hidden field: 1, 2; key codes: see page source of 1
  9. LAMP on server
  10. Restrict access to a folder on Ubuntu Apache: put .htaccess with "deny from all" inside the target folder and follow instructions in this link.
  11. To dump database: from the system shell use "mysqldump -u username -p dbname > dbname.sql"

No comments:

Post a Comment