A few days ago I asked at the Oso forum for this source program, no one replied. Finally determined to transplant one such function, thanks to Netizens Keyes provide the Delphi source code for the transplant. The method is called $TXT=BIG5TOGB ($txt)
Thanks Netizen Keyes to provide the Delphi source code of the transplant. The method is called $txt=gbtobig5 ($txt).
(Note: the include "data_gb.php" in the source code; This file is an array, in Http://caocao.oso.com.cn/data_gb.zip, please edit the
The uses PHP to generate a single HTML document from the article data in the database. First of all, conducive to the search engine included. Second, it is safer to avoid exposing fields in the database to the Address bar. Give code:
The example of this article for everyone to share the PHP session three ways to transfer, for your reference, the specific content as follows
Since learning to do the next note, to solve the data sharing, do not worry about, when you have to
This example for you to share the Linux php upload file notes for your reference, the specific content as follows
1, modify the Upload directory permissionsLinux modifies all subdirectories permissions in a directoryChmod-r 777 HTMLModify a
In the development of the project due to the introduction of the batch record array, due to many fields, so it is impossible to &a=322&=gsd&v=rwe in the ordinary way to transmit, so thought of the front-handed JSON format in the past content=[{' a ':
PHP5.4 only supports the Json_unescaped_unicode parameter, which allows Chinese characters to be json_encode without escaping, reducing the amount of data transferred. But in PHP5.3, you have to write a function to implement, the following is the
This example for you to share the data paging display function of the PHP implementation code for your reference, the specific content as follows
Implementation code:
user list
"; echo $row [' name '].
"; echo $row [' email '
In most cases, we specify another URL address to handle the content of the form to the action attribute, but there are some situations where you need to submit the form data to your own. How do we specify the action attribute value at this time?
if (
Using the following methods, you can see the use of minixml, compared with activelink-php-xml-package-0.4.0, more in line with the use of habits, but also more simple.
$xmlDoc = new Minixmldoc ();
$xmlRoot =& $xmlDoc->getroot ();
$childElement =&
If you want to use the conversion of the amount, the processing of the decimal part should be modified
function Ch_num ($num, $mode =true) {
$char = Array ("0", "one", "II", "three", "Restaurant", "WU", "Lu", "Qi", "ba", "Nine");
$DW = Array ("",
Used to display error messages and success messages, you can also directly echo the error message, here I just want my error information page beautiful point, defined a page output function bale.
Copy Code code as follows:
The program uses PHP zip extension, if the server support, it can be used ^_^, the resulting zip compression package can be used to extract the WinRAR, of course, can also use PHP to extract. Decompression over a period of time again
Curl supports SSL certificates, HTTP POST, HTTP put, FTP upload, Kerberos, upload based on htt format, proxy, cookie, user + password proof, File transfer recovery, HTTP proxy channel most often, is an HTTP-based get and post method.
Code
Next, go on to learn about how IIS supports PHP configuration:
1, go to PHP website download php:http://windows.php.net/download/. IIS7 We need to select more than 5.3 VC9 packages in PHP to download the zip file. As shown in figure:
2, unzip
Now, many of the activities are directed users to focus on the public number, in order to participate in the activities, that how to judge the user concerned about the public number? This article will provide you with PHP code to solve the problem.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service