Set up WindowsApachePHPMySQL

There are two ways to install php in Apache, one of which is used here. you can download php: php-5.1.2-win32and php-5.1.2-installer.exe from apache components ~~~ Copy the dll file in php to windowssystem32, and copy php. ini-dist to the windows

Use PHP and AJAX to create an RSS aggregator

Imagine using a simple HTML file to send a request to a server script, receive a custom XML file based on the request, and display it to the user without refreshing the browser! The author will discuss with you how to combine PHP and AJAX

Cache output for PHP program accelerated exploration

Content cache output PEARcache next we start to explore more common cache Technologies, which is also the focus of this article. First, we use the cache package in PEAR. PEAR can cache content in files, databases, or memory. We use files as an

Guide to sending emails via SMTP using PHP

PHP does not provide a ready-made smtp function, but provides a mail () function that is not very flexible. this function requires support on server configuration and does not support smtp verification, it is not recommended because it cannot work

PHP learning: Getting started with string operations

In which language, string operations are an important foundation, often simple and important. Just as people speak, they generally have shapes (graphical interfaces) and languages (print strings ?), Obviously, strings can explain more things. PHP

Four problems that must be encountered when upgrading to MySQL5.0.17

1. when using MySQL instance configuration tool, set the character set to GBK2. problem: mysql & gt cannot be used for phpMyAdmin access during installation; SETPASSWORDFOR-& gt; root @ localhostOLD_PASSWORD (root); 3. strict field Check.

PHP can get the page from which you come, the usefulness of referer

When developing a web program, we sometimes need to get the page from which the user is connected, and the referer is used. It is an http protocol, so any language that can develop web programs can be implemented. for example, request. getHeader

Super simple email sending program

I recently developed a News system. I wrote this small program to imitate the online mail function of various websites and hope it will be useful to Cainiao. I didn't give a part of the code, but only gave the key part. Shouxin indicates the

Create a dynamic WML site

More and more mobile phones support the WAP function. Therefore, you should also consider creating your own WML website. This article will introduce how to create a site on the PHPWML page and use the MySQL database to dynamically update the site

Source code of a simple counter

? Parameters; if ($ phpxcount $ REMOTE_ADDR) {$ visitsfile ($ memo_file); $ parameters $ visits [0]; $ number_of_new_visit $ parameters; $ fpfopen ($ memo_file, w ); $ fwfwrite ($ fp, $ number_of_new_visit); fclose ($ fp) counter $ Memo_file =

Use PHP + MYSQL to achieve classification + pagination in the forum

Using PHP + MYSQL to achieve classification + paging display in the forum? * The table structure that stores the posts: createtablebbsrow (bbsrow_idint (6) comment, and the ID: bbsrow_authvarchar (20) notnull /* Table structure for storing posts --

Php.net news interception!

? Export headbody; $ opened $ QUERY_STRING; if ($ opened) {$ opened-1;} printtabletrtdclasscl // Modify the following variables by yourself. $ Newsnum = 7; $ Space = 20; $ Width = 400; $ Headclass = "class5 "; $ Lowerclass = "class6 "; // Variable

An example of using session to implement a miniature shopping basket

I used www.phpbuilder.com to add some information. The code is as follows. Hey :) basket. php :? Phpinclude (evert. inc );? PREIDNamePrice1Mouse25.00AHREF? Echo $ PHP_SELF ;?? Actaddid1price25basketMouseaddAAHREF? Echo $ PHP_SELF ;??

A small program that determines whether oicq is online

? Haha, take the Alpha brother's icq version to change the functionget_status ($ uin) {$ fp @ fsockopen (infocenter.tencent.com, 80, $ errno, $ errstr, 30); if (! $ Fp) {return error;} else {fputs ($ fp, GET $ uinl000HTTP1.0nn); $ doyes; while (!

Implement processing of 10 pages and 10 pages after 10 pages

? * Display data records by page a page with 10 consecutive pages connected to one page can display $ limit_row record information with the following 10 pages and top 10 pages turning functions ------ required input value $ total_row; $ limit_row; $

Online user count statistics using file attributes and Session

? Phpob_start (); session_start (); $ num0; $ dirptonline; $ reftime1; if (is_dir ($ dirpt) $ diropendir ($ dirpt )) {while ($ filereaddir ($ dir ))! False) {if (strcmp ($ file ,..) 0 | strcmp ($ file ,.) 0) {continue;} $ D _ [date (Y-m-dH: I:

Use pure qq ip database for fast IP address retrieval

The pure version of IP data files can be used to optimize the query method, improve the format conversion efficiency, reduce the number of file reads, and quickly query IP addresses online. Greatly reduce the number of file reads, which should be

Demonstration of using php to implement proxy functions

The work of the trainer just written. I feel that there is still some practical value .. Let's try it out. Function: use php to implement proxy functions. applicable users: Download at home is slow. You are too lazy to find the proxy. There are high-

Enhance php security by configuring server features

Many articles have described in detail the problems encountered by php and cgi programs in programming, and how to break through the system through application vulnerabilities, in this article, we will configure some server-side features of php to

The first PHP virus found in the world

[ENews message] an anti-virus company named CentralCommand found that the first virus written in PHPScript language (a new CGI network programming language) began to infect the computer. When a user executes an infected script file. the NewWorld

Total Pages: 12780 1 .... 9860 9861 9862 9863 9864 .... 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.