Run PHP under Ubuntu, always prompt call to undefined function curl_init (), reason not to turn: Php5-curl
Curl related content See: Http://packages.ubuntu.com/zh-cn/intrepid/php5-curl
CURL is a library of getting files from FTP, GOPHER, HTTP
Pie chart | function
########Bimage.php3########/*Function description$chartdata: Data, is an array element$chartfont: Font Size$chartdiameter: Determine the size of the cake (to see you hungry, hehe)$chartlabel: Title, also an array
First, PHP export Excel files
1: The first recommendation of the Phpexcel, official website: http://www.codeplex.com/PHPExcelImport export, you can export office2007 format, compatible with 20032, use Pear's Spreadsheet_excel_writer classDownload
Gradient
First show:
It's just written today, it's still hot, the code is as follows:
Header ("Content-type:image/png");$txt =$_get[' txt ']. " (Refresh I will change color OH) ";$i
The following is a tree menu of styles similar to Windows Explorer, including the following script in your page, and you need to intercept some GIF pictures from the Explorer, see the comments in the script, the format of the menu structure file is:
The following are the referenced contents: //※checkmoney ($C _money) checks whether the data is in 99999.99 format //※checkemailaddr ($C _mailaddr) to determine if it is a valid mail address //※checkwebaddr ($C _weburl) to determine whether a valid
Chinese characters converted into phonetic function, write to URL can do search engine optimization
The following is a reference fragment:Translate Chinese characters into pinyin and write to URLs to do Google optimizationCall Function
Install PHP notes under WIN98 in Apache module mode
Foolboy@chinaren.com
★ Related software:
Mod_php4-4.0.1-pl2.zip
Php-4.0.1pl2-win32.zip
The above software can be downloaded from www.php.net or www.phpuser.com
Note that both versions must be the
web| Program | template
Each developer with a larger php-web application design probably has the following experience: Spend a lot of time writing hypertext statements, composing pages, making artwork, and so on, or spending a lot of time on
Statistics | online | Number in the forum someone asked me how to count online numbers? I don't know what the best way is. The following is the implementation of the principle of the site, I wrote it for your reference. This is only my method,
Templates can improve the structure of your site. This article explains how to use templates to control page layouts in a Web site composed of a large number of static HTML pages through a new feature and template class in PHP 4.
Outline:
=======
As you know, the database is of great importance to the network. Because of the complexity of CGI, now the ASP and Php+mysql have become mainstream. Almost all of the personal web pages have to use the message book, but the application of the
Today inadvertently see a website, its counter can be updated in the static page, I think, should be done using JS, open the source code a look, sure enough:
Author: Unknown article source: meidi.netNumber of clicks:Update Time: 2005-5-27
Two ways to support page back with PHP program
In the development process, often because the form error and return to the page when the information is missing, in order to support page bounce, can be achieved in two ways.
First, use the header
Main control Program upfile.php?#####################################################################Project Name:test#Author: lanf#Home page:http://lanf.yeah.net#E-mail:imbusy@263.net#Time: 2001. 9####################################################
Here are some functions that use a higher frequency ...
1. Generating random String functions
function Random ($length) {$hash = @#@#;$chars = @ #ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz @#;$max = strlen ($chars)-1;Mt_srand
Sometimes we need to keep get and post parameters passed on the next page or other uses!The convenience of work so I wrote this code!I hope we can communicate a lot!
?/*Program Design: Lin Jianxui (fluttering maple design room)Made in Zhuhai by 2007-
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