* Please refer to the following link for more information: {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0 }.®Zookeeper

Source: Internet
Author: User
* Please refer to the following link for more information: {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0 }.
1. µúram» ~» ~~~~~~~~~******************************************************
2. zookeeper · zookeeper has been added to ************************************************************* 'commandid was £.
3. when «'commandid *******************************************************
4. maid» ~~~~~~~~~~~~*******************************************************
5. zookeeper · zookeeper has been added to ************************************************************* 'commandid was £.
6. when «'{}}{********************************************************** £.
~Â:
Fopen () 'commandid ~ä ~~~~
Filesize ()» n'μ Ã ä¼ ¡
Fseek () has been transferred between ~~ä~~ö ~~~~~
Fgets () µsampled sampled
Fputs (
Fclose () ¹ Ø ± Õ Ä ä¼ þ
File_exists
Exec () ö '*********************

* Please refer to below for more information:


· **************Í


/*
(C) 1998 David W. Bettis
Õ â À Ç ç° ~%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

$ CounterFile = "counter.txt ";
# Â À Ç ¨ Ç Æ ÷ Ä

Function displayCounter ($ counterFile ){
$ Fp = fopen ($ counterFile, "rw ");
# '{¿ Ä ä¼ {£ ****************

$ Num = fgets ($ fp, 5 );
#?

$ Num + = 1;
# Ó ó1

Print "äúlanguçµú"." $ num "." Comment» ~~áä~×ó ";
Exec ("rm-rf $ counterFile ");
Exec ("echo $ num> $ counterFile ");
# ͵ázä?ê ½ £ %%%%%%%%%%%%%%%%%%%%%%%%% **********************************
}

If (! File_exists ($ counterFile )){
Exec ("echo 0> $ counterFile ");
} # Â ç Ç ç Æ Î Ä ä¼ ²» '~~ú£;{â ¨ ür² ***************************************** limit 0

DisplayCounter ($ counterFile );

?>


PHP Ç ý ÷ ±? ¼ ò µ µ¥ ° £°
# ° ~~~~» Ó ~â ² £;%%%â %%%%%µ¥

$ Fp = fopen ("counter.txt", "r + ");
Flock ($ fp, 3 );
# '{¿ Ç ÷ Î Ä ä¼ %%%%%%%%%%%%%%%%%%%%× %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ¡

$ Fsize = filesize ("count.txt ");
$ Count = fgets ($ fp, $ fsize + 1 );
$ Count ++;
»

Fseek ($ fp, 0 );
Fputs ($ fp, $ count );
Fclose ($ fp );
# When «Ð Â Ê Â ë '''' ?ä ä¼ þ

Echo "äã Ê çµú$ count successfully» · please renew your subscription fee ";
?>

PHP Ç *********************************************************
Ööæ × 10 ~öí~~~%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%» too many has been µáchi
Please refer to the following link for more information: 0.gif ~ 9. gif

... $ Count ***************************************
$ Strcount = strval ($ count );
$ Strcount = chop ($ strcount );
$ Countlen = $ strlen ($ strcount );
$ Shtml = "";
For ($ I = 0; $ I <$ countlen; $ I ++ ){
$ Shtml. = "$ shtml. = $ strcount [$ I];
$ Shtml. = ". gif '> ";
}
Echo $ shtml;
?>

PHP Ç ý ÷ £ â?
Ê Ó Ç £?
Create table counter
(
Counter int not null,
Id provided when there are already existed int not null
)
Insert into counter (counter, id) VALUE (0, 1)

$ Conn = mysql_connect (...,...,...);
# MySQL has been released successfully ~~â á~~~ó

$ SQL = "select * from counter ";
$ Result = mysql_query ($ SQL, $ conn );
$ Objresult = mysql_fetch_object ($ result );
$ Count = $ objresult-> counter;
$ Count ++;

$ SQL = "update counter set counter =". $ count. "where id = 1 ";
Mysql_query ($ SQL, $ conn );
Mysql_close ($ conn );


Echo "äã Ê çµú$ count successfully» · ã ¿Í ";
?>

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.