TELNET is a client-server application that allows a user to log on to a remote machine, giving the user access to the remote system TELNET is an abbreviation of terminal Network
More questions
1. What?s the difference between md5( ), crc32( ) and sha1( ) crypto on PHP?
Correct Answer: The major difference is the length of the hash generated CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit value, and md5() returns a 160 bit value This is important when avoiding collisions
2. What?s the difference between include and require?
Correct Answer: It?s how they handle failures If the file is not found by require(), it will cause a fatal error and halt the execution of the script If the file is not found by include(), a warning will be issued, but execution will continue
Correct Answer: Since the data inside the single-quoted string is not parsed for variable substitution, it?s always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution
6. What?s the difference between htmlentities( ) and htmlspecialchars( )?
Correct Answer: htmlspecialchars only takes care of , single quote ?, double quote " and ampersand htmlentities translates all occurrences of character sequences that have different meaning in HTML
Correct Answer: On the server side, the main difference between GET and POST is where the submitted is stored The $_GET array stores data submitted by the GET method The $_POST array stores data submitted by the POST method On the browser side, the difference is that data submitted by the GET method will be displayed in the browser?s address field Data submitted by the POST method will not be displayed anywhere on the browser GET method is mostly used for submitting a small amount and less sensitive data POST method is mostly used for submitting a large amount or sensitive data
10. How can we know the number of days between two given dates using php?