Practice writing your own database operations base class, containing the most basic curd operations. Can be integrated into the frame.
Configuration file
$db = Array (
' Host ' = ' localhost ',
' User ' = ' root ',
PHP can be executed on a Web page, and PHP scripts can be executed at the command line via the PHP CLI (command line interface).PHP can be executed on a Web page, and PHP scripts can be executed at the command line via the PHP CLI (command line
Jpge pictures and PNG image fusion, in fact, we are familiar with the watermark technology. The most important sentence in the following code is: To set the color blending mode of an imageImagealphablending ($ground _im, true);
/
PHP 72-hour weather forecast for each cityGet the city weather forecast content data.txt Download: http://3.ibtf.sinaapp.com/data.txt[Note page encoding]Demo Address: http://3.ibtf.sinaapp.com/?city=%E7%9F%B3%E5%AE%B6%E5%BA%84
function
Update Time: 20120102
/**
* [Webodmin] (C) 2010-2099 Blank Inc.
* This was not a freeware, use was subject to license terms
*
**/
function Subistr ($string, $length, $dot = ' ... ') {
phpcms2008 Add browse times PluginIncrease the number of browse times for a specified article, increasing the number of articles in a given rangeIncrease the number of views for the specified column articleIncrease the activity of the company,
function Get_http_response_code ($theURL) {
$headers = Get_headers ($theURL);
return substr ($headers [0], 9, 3);
}
?>
Copy CodeThe function of get_headers is to access a remote address and return the
just put the PHP into the Ucenter directory and execute it. Source:Http://www.tongqiong.com/read.php?tid-27-ds-1.html
Author: www.tongqiong.com
Header ("content-type:text/html; Charset=utf-8 ");
Include_once
Error_reporting (E_all);
Require ' mail.php ';
Require ' mail/mime.php ';
$text = "text version of Email\nmessage made with PHP";
$html = ' html version of email';
$html. = ' Message made with ';
The first version of the PHP framework, people who want to use this framework can provide valuable advice. and the related bugs. I will continue to improve in the future version.The framework's file has a large amount of annotation information,
Previously written by a PHP online processing upload images, can be cropped. Add watermark map, watermark map More than the target image size, the watermark can automatically adapt to the target image and reduce, the watermark can be set with the
/*
Only support integer lowercase amount to Chinese capitalization
*/
Class Chinesenumber
{
var $basical =array (0=> "0", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine");
var $basical =array (0=>
The company is building a large-scale industry to share the theme of the trade platform, to find understanding of web platform development, familiar with PHP, MySQL, JAVA, Android, IOS, can independently complete the site architecture and
Package com.qimenguigu.l07131;
Import Java.io.BufferedReader;
Import java.io.IOException;
Import Java.io.InputStreamReader;
/**
* Enter the year, month, day, Next|prior, if it is a correct date, calculate
/**
* Directory Generation class: Utilsmakedir
* @author Yepeng
* @since 2010.3.18
*/
Class utilsmakedir{
The directory is not established when the base directory is created. This should be a directory that already
/**
Features: Generating static pages
Collation: Scripting Academy bbs.it-home.org
Date: 2013-2-16
*/
Class HTML
{
var $dir; Dir for the htmls (without/)
var $rootdir; Root of HTML files (without/): HTML
Create TABLE ' bihtml ' (
' id ' int (one) not NULL auto_increment,
' Szdtitle ' varchar (+) not NULL,
' Szdcontent ' text is not NULL,
PRIMARY KEY (' id ')
) TYPE
Copy CodeGet the current ID and import
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