Php

MD5() Encryption in PHP
MD5() Encryption in PHP

Topic-53 MD5() Encryption in PHP Part – 2 DOC,PDF -In last topic we discussed about the encryption of a string using md5(). -In this topic we are going to see how this function is helpful in encrypting the passwords. -It increases the security in saving the credentials. Let us see the following program, Here we saved the encrypted string “password”…

MD5() encryption in PHP
MD5() encryption in PHP

Topic-53 MD5() encryption in PHP Part – 1 DOC,PDF -In this Topic we are going to learn about the MD5() encryption. -We are going to generate a hash code using md5() encryption. -MD5( ) function takes the input string and encrypts the string and produces the hash output for the given input. Syntax: md5 (string, raw-output); string – The string…

Creating a Unique hit counter in PHP
Creating a Unique hit counter in PHP

Topic – 52 Creating a Unique hit counter in PHP Part – 3 DOC,PDF -In last part we discussed about the logic for counting the users and saving their ip address. -Here in this part we are going to implement the whole logic for Unique hit counter. -Whenever a new user accesses the file (count.php) then the current user ip…

Creating a Unique hit counter in PHP
Creating a Unique hit counter in PHP

Topic – 52 Creating a Unique hit counter in PHP Part – 2 DOC,PDF Here in this part we are going to see the logic for saving the ip address of the user and to count the number of users accessed the file. Here we need to consider the following, -We need to check whether the ip address exists in…

Creating a Unique hit counter in PHP
Creating a Unique hit counter in PHP

Topic – 52 Creating a Unique hit counter in PHP Part – 1 DOC,PDF -In last topic we have seen how to create a Non- Unique Hit counter. -In last topic we counted that how many times a file is opened. Even if the same user opens it then the count is going to be incremented. -Here in this topic…

Non-unique Hit counter in PHP
Non-unique Hit counter in PHP

Title – 51 Non-unique Hit counter in PHP DOC,PDF -We are going to discuss about how many times the file is opened. -Here we want to see how many users accessed the file. -In this topic we are writing a code for counting the number of times the file opened thereby we will know how many were accessed the file.…

File Uploading concept in PHP
File Uploading concept in PHP

Topic – 50 File Uploading concept in PHP Part – 5 DOC,PDF -We have seen how to restrict the file uploading with type safety. -Also we have seen how to restrict the file uploading with file size. -Here we are going to restrict the uploading with type safety and with size limit. -Let us see the following program which restricts…

File uploading concept in PHP
File uploading concept in PHP

File uploading concept in PHP Topic – 51 Part – 4 DOC,PDF -In last topic we have seen how to upload a file into server with type safety. -We have uploaded the files in to the server with type safety. -You can restrict the file uploading by size. Here we are going to discuss about restriction of the file size.…

File uploading concept in PHP
File uploading concept in PHP

Topic – 51 File uploading concept in PHP Part – 3 DOC,PDF -In last topic we have seen how to upload a file into server. -We have uploaded the files in to the server. -We have uploaded all types of files into the server. You can also put some restrictions for uploading the files into server. -You can restrict the…

File uploading concept in PHP
File uploading concept in PHP

Topic-50 File uploading concept in PHP Part – 2 DOC,PDF -In previous part we learned about the basic requirements for uploading a file. -Here in this part we are going to upload a file into a server. Let us consider previous program and will add some logic for uploading a file into server as follows, Program: <?php $name = $_FILES[‘file’][‘name’];…