Home > Backend Development > PHP Tutorial > The implementation ideas and core program of simulating OICQ - it is recommended to join the highlight area_PHP tutorial

The implementation ideas and core program of simulating OICQ - it is recommended to join the highlight area_PHP tutorial

WBOY
Release: 2016-07-13 17:24:50
Original
651 people have browsed it

Article source; PHP Century Network 3 Online user information scanning and updating Use built-in frames in web pages to call scanning and updating programs. This line can also be seen in the web page source code! 4 Information scanning and updating program userflush.php session_start(); mysql_connect("localhost","",""); mysql_select_db("php2000"); $delaytime=0; // 查找新的发言 $query = "select * from forumtalk where readsign=0 and receiver=$name"; $result = mysql_query($query); if( mysql_num_rows($result) > 0) { // Read and display the pop-up window $msg = mysql_fetch_array($result); $numberfriend = $msg[id]; echo ""; } // Set the current The latest time stamp of the user, indicating that it is online mysql_query("update userinfo set currentdate=".date("U")." where name=$name"); // Set the refresh interval to 15 seconds echo "" ; ?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532106.htmlTechArticleArticle source; PHP Century Network 3 Online user information scanning and updating uses built-in frames in web pages to call scanning and Update the program, this line can also be seen in the source code of the web page! 4 information...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template