Tutorials to .com

Tutorials to .com » Php » Others » php other

php other Articles


121: How to use PHP's string functions
PHP's string functions to operate more important are the following: (1) echo, print, printf, sprintf The first two functions are the output string. String variable name if its value was replaced. The latter two functions similar to C function...

122: PHP custom paging function
?? To prepare a list of the nature of each page to write on almost every page for some procedures. Xiaoyang was recently determined to once and for all?? From the definition of a paging function, and stored in the "pageft.php" file. Take i...

123: Include and Require Functions through the realization of code reuse
If you did the Web sites of various sizes, we will reuse the code segment of the importance of deep, whether it is HTML or PHP code block. For example, once a year to amend the footer contains copyright information, and you have a 1000 Web page (eve...

124: PHP's date and time
There are many easy-to-use PHP function to display the date and treatment. To a particular date or time format, you can use date () function. It has two parameters: how to display the date format, as well as representatives of the date you want to ...

125: A switch over to the Chinese-digit Arabic numerals function
Recently, because of the need to write a "Chinese-digit Arabic numerals to function." Search the best areas to see a similar. I felt good the algorithm, so you paste them to share If the amount to be used for the conversion of the fracti...

126: Write a function
<? php / ** * Function data_box * Function in accordance with the output data source template content * Parameters * $ Fun callback function, must be provided. Is read from the data source data. Asked to return an associative array of the be...

127: Graphics functions in PHP to display Chinese characters
PHP function in the graphics display of Chinese characters, we have asked for a long time, but has no results. Finally, after making reference to another article, I test out! Methods: First of all, the decision to display Chinese characters, such ...

128: Used in the JS in PHP Print function
auto = 1 immediately PRINT, otherwise after timeOut ms PRINT, such as printPage (0,5000); function printPage ($ auto = 1, $ timeOut = 10000) ( if ($ auto == 1) ( echo " <SCRIPT LANGUAGE = "JavaScript"> <! - Begin if (wi...

129: Variable variables, PHP and your
I have recently done in a project, I discovered a new concept, with regard to the use of variables in PHP variables. In my program, I need to update a page at the same time a number of records, I have been suffering quite a long time to think, the m...

130: Php to use the database of a secondary linkage
<? php /******************************************* ********** Function: php menu linkage 2 ************* ********** Author: red stars ************************* ********** Email: njj@nuc.edu.cn ************** ********** Date: 2004/10/02 ****...

131: PHP functions MySQL operation
(1) mysql_connect (host, user name, password); Returns a hyphen. Note: mysql can be the user's password with the user's machine where a different IP address change. In addition, mSQL mechanism is not user name, so only need one host msql_...

132: Collection of new Function PHP4
First, output control function These functions can let you control the output of your script content. Can be used in many different situations, especially in your script has output to send the file after the first new circumstances. Output control ...

133: Separation of art to eliminate duplication
If you are designing an interactive Web site, you will be two key issues of concern is the art and procedures. This is a site set aside in the construction of its contents after the most critical elements. There are usually two ways to coordinate th...

134: PHP regular expression in (b)
Repeated to determine Until now, you already know how to match a letter or number, but more cases may have to match a word or a group of figures. A word composed of a number of letters, figures there are a number of odd components. With the charact...

135: The use of static forms to achieve the color interlaced display
The use of static forms to achieve the color interlaced display In actual applications programming functions we often forget STATIC. Should carefully reflect upon it. . :) We use PHP to query the data from the database, and the results output to t...

136: Output Buffer (Output Buffer) function
Programming in PHP, we often encounter some of the functions directly from the output, such as passthru (), readfile (), var_dump () and so on. But sometimes we want to import the output of these functions to a file, or pass through to deal with re-...

137: A few of the new array function library
We have very little information is available for PHP, it is not have a php4gb.chm. I appreciate it the most inside part of the library, the real-line help. However, the pace of PHP development is too fast, you stare, I recently found some www.php.ne...

138: Simplified Chinese, Traditional Chinese conversion of PHP function
Keyes thanked the User to provide transplant Delphi source code. Its call for $ txt = gbtobig5 ($ txt). (Note: the source code of include "data_gb.php"; this document is an array, in http://caocao.oso.com.cn/data_gb.zip, please download o...

139: Traditional Chinese Simplified Chinese converted to PHP function
A few days ago I asked in the forum oso have the source code, no one replies. Finally decided to transplant such a function, thanks to friends Keyes to provide transplant Delphi source code. Its call for $ txt = big5togb ($ txt). (Note: the source ...

140: PHP script of 8 skills (7) PHP and Java
PHP function is a brilliant idea to call Java object methods have the ability, this feature allows you to integrate PHP into existing Java-based applications. If you are promoting your workplace PHP, then you can count to find the big winds blowspec...


Page 7 of 9
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]