PHP program for converting Chinese dates

In this program, the Chinese date is output to-12-23, and the problem of "10" is well solved, such as "10" in "11" and "21! A slight modification can be changed to a function. SyntaxHighlighter. all (); info & nbsp; | & n In this program, the

Code used to determine whether ICQ is online

// Determine whether ICQ is online code SyntaxHighlighter. all (); news & nbsp; | & nbsp; Security & nbsp; | & nbsp; // Code used to determine whether ICQ is online Function get_status ($ uin){$ Fp = fsockopen ("wwp.icq.com", 80, & $ errno, & $

Counters based on files and databases

Author: javaduke, originally created on www.dukejava.com file-based php counter Author: javaduke, original at www.dukejava.comFile-based php counters// Php counters, based on the file system.Function wincounter (){// If the object does not exist,

Use PHP to determine whether oicq is online.

Source: keniv Source: keniv Function get_status ($ uin){$ Fp = @ fsockopen ("infocenter.tencent.com", 80, & $ errno, & $ errstr, 30 );If (! $ Fp){Return error;}Else{Fputs ($ fp, "GET/$ uin/l/00/0/HTTP/1.0 ");$ Do = yes;While (! Feof ($ fp )){$

Four small PHP app functions

1. how to view the variable content there is a var_dump ($ var) function in php4 to dump the content of a variable (various types of variables ), however, the output of this function is not suitable for display on the html page. You can write a

PHP-4.0.5 action

WarningThissupportisEXPERIMENTAL. Infact, itintegratescodethatMicrosoftlabelsaspre-beta.Useatyourownrisk.BuildinstructionsDownloadandinstallthe.NETFrameworkSD Warning ====== This support is EXPERIMENTAL. in fact, it integrates code that Microsoft

Php online users

Someone asked me in the forum how to count the number of online users? I don't know what is the best method. The following is the implementation principle of this site. I will write it for your reference. This is just my method. it is definitely not

Xinglin Yinlu (6)

Registration part: & nbsp; registration Step 1: class/register_step1.php (as the mainstream development language) & lt; HTML & gt; & lt; HEAD & gt; & lt; metahttp-equivContent-Typecontenttext/html; charsetgb2312 & gt; & lt; TI registration

Xinglin record (3)

Guest homepage: class/guest. php (as the mainstream development language) & lt; HTML & gt; & lt; HEAD & gt; & lt; metahttp-equivContent-Typecontenttext/html; charsetgb2312 & gt; & lt; TITLE & gt; welcome to class 1 of grade 94. & lt;/TITLE & gt;

My Forum source code (6)

Repal. php (as the mainstream development language) replies to pages, because the reply does not need to be a user, so user identity verification is not added & lt; html & gt; & lt; head & gt; & lt; title & gt; reply to the topic: & lt ;? Echo & #36;

Source code of my forum (5)

Okey. php (as the mainstream development language) mainly processes user login and publishing information. & lt ;? If (& #36; username) & nbsp; & nbsp; & nbsp okey. php (as the mainstream development language) mainly processes user login and

BBS (php & mysql) full version (7)

// The following is & nbsp; top. js & nbsp; & nbsp; functionKB_keepItInIE (theName, theWantTop, theWan // The following is top. js Function KB_keepItInIE (theName, theWantTop, theWantLeft ){ TheRealTop = parseInt (document. body.

BBS (php & mysql) full version (2)

// This page is look. php (as the mainstream development language) & lt ;? Includesignup/MySQL (the best combination with PHP ). inc; & amp; #36; sqlselect * from. & amp; #36; table. whereid & #36; id; & #36; resultMySQL (the best combination with

Create a dynamic WML site (3)

Then, you must enter it in the next file (index3.wml. We ask the user to enter the subject name or the professor's surname. Pay attention to how variables are transmitted between pages. The syntax seems a bit complex, but it helps you understand how

DIY three-step counter creation (on)

Most people are eager to use databases for counters, message books, forums, and other things. This article will introduce self-made counter programs. & Nbsp; create 0 ~ 9 These 10 GIF digital images are placed in the img folder, and a php (as the

PHP + MYSQL message book (3)

& Nbsp; page display not completed ~~ (The culprit is the power outage today '~ 'Find objective reasons )~ Today, no new code can be pasted out ~~ Just get the original database connection statement to an include file '~ Easy to change later ~~~ &

Improving PHP execution speed (II)

After the above two methods, I believe that the performance of your php (as the current mainstream development language) application has been greatly improved. now we should consider the following from another aspect: download speed. If your

Why is O_RDWRfailed available when php4 uses session?

In php (as the mainstream development language) 4, the session function can be said to be quite perfect. it fixes many bugs in previous versions and makes it easy to use them. Unlike session in asp, php (as the mainstream development language) 4

An example of website content interception

Reference: http://www.netasp.com.cn/valley/gettitle/index.php (as the current mainstream development language) code is as follows: & lt; pre & lt ;? // Get_title.php (as the current mainstream development language) & #36; filefile (http://www.netasp.

Convert an RTF file to HTML and display the code on the webpage.

It works like this to convert an RTF file into HTML and display the code on the webpage. it uploads an RTF file and converts it to HTML for display. the code is a bit complicated, teaman needs to study it well, as if the Chinese version is a bit

Total Pages: 12780 1 .... 12382 12383 12384 12385 12386 .... 12780 Go to: GO

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.