1, instantiation Dbbak need to tell it two things: where the data server ($connectid), back to which directory ($backupDir):
Require_once (' dbbak.php ');
Require_once (' tablebak.php ');
$connectid = mysql_connect (' localhost ', ' root ', ' 123456
For the Cd2sc.com website features developed, the code for my original, generation speed generally.
(For well-known reasons, the data field name involved in the database has been changed and the part of the parameter filter has been removed for code
Here's the code:
Copy CodeThe code is as follows:
$id =$_get[id];
Include ("admin/config.php");
$sql = "SELECT * from user where id= $id";
$data =mysql_fetch_array (mysql_query ($sql));
$p =sbc_dbc ($data [phone],1);
function Get_str ($str,
Questions about the session_start ()
On the question of session_start () I read a lot of information or illegal solution. The big push is about what character encoding.
Open this page error:
Warning:session_start () [Function.session-start]: Cannot
Now do the project needs PHP connection MySQL database, although previously learned, but now basically forget, and then find the relevant data to solve the problem, the following small series of specific methods to share in the script home platform
Explain: The value of the English notation
= = = Back to Fax:
---NN) number of values FF) decimal place
//============================================================
function Xf_num2en ($NN, $FF =0) {
===[Front]================================
Century perpetual calendar
#这是唯一的设置-Please enter the location of the PHP file
$file = "http://192.168.1.168/php/rl/s2m.php";
#农历每月的天数
$everymonth =array (
0=>array (8,0,0,0,0,0,0,0,0,0,0,0,29,30,7,1),
1=>array (0,29,30,29,29,30,29,30,29,30,30,30,29,0
1. Demo
http://www.elook.net.cn/ElookArticle_PHP/index.php
2. Download
Http://www.elook.net.cn/down/ElookArticle.PHP_1.0.0_GBK.rar
3. Introduction
A set of templates, language packs and caching technology, support unlimited classification,
20 hours to read the goal of the station, you can modify, see how to get the other station, very simple.
chuanqi.php//Thief
Extract ($_get); extract ($_post);
$clinchurl = "http://www.haosf.com"; Target Station
$url = $clinchurl. $domain;
$fp =
Copy CodeThe code is as follows:
/*********************************************
*
* Program Name: PHP Enthusiasts message Board
* Demo: http://www.phpfans.net/guestbook/
*
* Author: I am not a fish
* email:deng5765@163.com
* Website:
Hair for a few days the basis of things, today to point a little more difficult, generally in the CMS system backstage all to use the essence of the category management part-Unlimited class menu, for the Novice, this may have some difficulty, but
Before reading this article, make sure that you have mastered some knowledge of PHP and the basics of MySQL query operations.
As a web program, often to deal with countless data, such as the member's data, the article data, if only dozens of
Analysis:
We use a file (Data.dat) to store voting columns. Each column occupies one row.
This way, you can add and subtract the columns you want to vote for.
We then use a file (Votes.dat) to store our poll results.
And record the latest voter's IP
if (GET_MAGIC_QUOTES_GPC () ==1) {
?>
MySQL General Query Program
Note that this program requires a PHP configuration file (PHP3 of PHP3.INI,PHP4 to PHP.ini) MAGIC_QUOTES_GPC
Set to OFF or 0, restart Apache after modification.
Exit ();
}
Just like the address path in my log, let Index.php?action=one&do=two
Become:? index/action/one/do/two
Copy CodeThe code is as follows:
index.php
--------------
Parsing QUERY STRING
$QS =explode ("&", $_server[' query_string ']);
$QS =explode ('/'
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