The Tutorials in this series are created in XAMPP 5.5.19 on Ubuntu 14.04. PHP: Hypertext Preprocessor" is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Read more
Foss : PHP and MySQL - English
Outline: MD5 Encryption Calculates the MD5 hash of str using the RSA Data Security, Inc.'s MD5 Message-Digest Algorithm, and returns that hash (Its a one way encrypting technique). Synt..
Outline: Sending Email (Part 1) Create HTML form for getting email subject and message from the user Using the mail() function to send email
Outline: Sending Email (Part 2) Validating whether the name and message have been entered by the user Check the length of the string using the strlen() function. Set up the to, subject..
Outline: Sending Email (Part 3) Fix the "Sendmail from not set in php dot ini" error Create the mail "From:" header Using a local or external mail server to send email Using the ini_s..
Outline: Display Images from a Directory Using opendir() to open a directory handle Using readdir() to read a directory that is already opened Printing the directory listing
Outline: User Login Part 1 Collecting information from user in a form & connecting to authorized database. mysql_connect("hostname", "username", "password") - Connect to the Database Se..
Outline: User Login Part 2 retrieves information about inputed username and checks whether given password matches with the password in database. mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY'..
Outline: User Login Part 3 Creating session for holding value and destroying that value by destroying session. start_session() - Starts session to hold information from one pages to oth..
Outline: User Password Change Part 1 We learn to obtain old existing password and new password from the user. start_session() - Hold information from previous pages to session page. $v..
Outline: User Password Change Part 2 Checking whether encrypted old password matches with the database password and new password is same as confirm password. md5("parameter")- encrypts ..
Outline: User Password Change Part 3 updating the new password in database. mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - It is used to run specific queries on our database. Here it updat..
Outline: User Registration Part 1 Creating a form which allows user to input values in page
Outline: User Registration Part 2 Striping tags of inputed strings and converting password into md5 encryption. Use of : strip_tags(strigs) - cuts down unnecessary spaces,html tags and ..
Outline: User Registration Part 3 Checking whether the username and password provided meet the required length sizes. Use of : strlen("string") - counts th character length of the strin..
Outline: User Registration Part 4 Inserting inputed information from the user into the database table through query. mysql_connect("hostname", "username", "password") - Connect to the D..
Outline: User Registration Part 5 Converting the password inputed from user to md5 encrypt form. md5("parameter")- encrypts parameter into irreversible logical code.
Outline: User Registration Part 6 Checking the username provided so that condition for duplicate username can be avoided. mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - This is used to run..