Digital Signature: Hash The data and the private key to get a message digest, along with the message itself, to the Client. The data signature emphasizes that the data received by the client is from a specific server, and the server has
Morning:Database summary:1. Create a databaseCreate DATABASE nameDeleting a databaseDrop database name2. Create a tableCREATE TABLE Table name(Column name type (length) from the growth primary key is not empty,)Self-growth: auto_incrementPrimary Key:
Share 2 types of PHP source code encryption, this encryption method supports any PHP version.
Note that the encrypted PHP code does not need to be decrypted by a third-party tool, as usual, to run directly.
Copy CodeThe code is as
A character in a string specified in PHP is replaced with an asterisk we have a function that can be implemented such as Substr,preg_replace,substr_replace and so on, I give these three functions respectively to introduce an example, mainly talk
Write an array to the configuration file. Why does the & symbol change to & amp; $ config_arr = var_export ($ configdata, true );
$ Config_txt ="
File_put_contents ('config. ini. php', $ config_txt );
$ Config_arr is an array with the & symbol
1. {} indicates the start and end of the block
For example
Copy the Code code as follows:if ($x = = $y){Do_nothing ();}
2. {} is used to denote a string subscript
For example(quoting the words of Longnetpro Brothers)The $s {1} represents the 2nd
echo "Connecting as MySQL
\ n ";
$connection 1 = mysql_connect (' localhost ', ' MySQL ', ') or Die ($php _errormsg);
echo "Connection1 is $connection 1
\ n ";
echo "Selecting test for MySQL user
\ n ";
mysql_select_db (' Test ', $connection 1) or
Some PHP interview questions preface life always has to go forward, wait for a day without Alibaba's interview notice, the mood is quite gloomy, but life always has to continue, still have to look forward, I have made several PHP interview questions.
PHP submits a request to automatically filter out the specified characters in the input box. how can this problem be solved? When submitting data, filter out the & lt; img & nbsp; src = & nbsp; and & nbsp; & gt; & nbsp; characters in all input data
How to transcode a string to urlencode directly using urlencode? the result is a string instead of the following: % 6E1% 7A % 62% 2F % 6D % 615% 5C % 76% how can an English character be converted into this format of how to transcode a string into
PHP pack, unpack, Ord function using method (binary stream Interface application example)
At work, I also learned that Pack,unpack,ord is powerful for binary byte processing. Let me introduce them to you. In our work, there is not much estimation of
A virtual machine
1. Mount the virtual machine in NAT Nic mode
2. It is best to use a few virtual machines to modify the hostname, static ip/etc/network/interface, here is S101 s102 s103 three host Ubantu, change/etc/hostname file
1. If a method can be static, declare it static. Speed improvement are by a factor of 4. If a method is static, it is statically declared. The rate can be increased to 4 times times.
2. Echo is faster than print. echo is faster than print.
3. Use
1. If a method can be static, declare it static. Speed improvement are by a factor of 4. If a method is static, it is statically declared. The rate can be increased to 4 times times.
2. Echo is faster than print. echo is faster than print.
3. Use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.