A simple PHP calendar algorithm

/*** Calendar** Copyright (c) 2007 by Chen Yixin (Deep Space). All rights reserved* to contacts the author write to {@link mailto:shenkong@php.net } * @author Chen Yixin (Deep Space)   */ if (function_exists (' Date_default_timezone_set ')

PHP implementation of the Chinese circular seal special effects

Whim, wrote a circular seal generator, the font of the arc rotation is quite time-consuming. Finally, the results are good, code archiving. Method One: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26-27--28 29---

PHP Chinese Verification Code implementation method

This article is an example of the implementation of PHP Chinese verification code. Share to everyone for your reference. The specific analysis is as follows: First look at the following effect chart: The specific code is as follows: ?

PHP calls MSSQL 2000 stored procedure Code

PHP calls MSSQL 2000 stored procedure code that's what I did yesterday. Oh, let's take a look at the code that uses PHP to invoke the MSSQL stored procedure. $start = isset ($_get[' start ')? $_get[' Start ']:0; $end = isset ($_get[' End '])?

Using PHP to import data into the Foxmail implementation code

Recently Sunny Little did a PHP alumni, the students themselves there to add or modify the name, mailbox, OICQ and other information, and save in the MySQL database. One day sunny little suddenly thought, if can use PHP to generate a file, for

Using PHP to realize QQ hanging machine

QQ Hanging machine is very popular, recently saw a high man wrote such a section of PHP code to achieve QQ hanging machine, special take out to share with you. PHP Code: $QQ = "100000"; QQ number$pwd = "123456"; Password$ch = Curl_init

Manipulating the PHP code for MSSQL

mssql.php $host = "localhost"; $user = "sa"; $password = ""; $db = "Kao"; error_reporting (7); if (! $sql) $sql = "SELECT @ @VERSION"; echo ""; echo "SQL Query: "; echo ""; echo ""; $conn = new COM ("ADODB. Connection ") or Die (" Cannot start ADO

PHP One-line implementation of the URL steering code

Very low, learn PHP can be done in half an hour. Reference: $url =$_get["url"];header ("Location:".) http://". $url);? > very simple. Ask yourself. With links: http://bbs.blueidea.com/viewthread.php?tid=2853779 That's the idea of the 5 floor.

How to open a gzip page compression instance in PHP

PHP Open gzip Page Compression instance Example one (with PHP's built-in compression function): ? Phpif (extension_loaded (' zlib ')) Ob_start (' Ob_gzhandler ');Header ("content-type:text/html");?> Untitled Document For ($i =0 $i Echo

Implement DataGrid functionality through PHP

Recently wanted to do a DataGrid function through PHP. This can directly modify the contents of the table in the database, without the development of "new data Page", "edit Page", so look for a search on the internet, similar things have a few, open

PHP Upload file code

Dynamic website development, commonly used PHP upload file code examples. The following are the referenced contents: Web Teaching Network (webjx.com) file upload instance ? function GetName ($exname) { $dir = ". /uploadfile/"

Add PHP support for IIS7 in vista/win08

Currently many Web sites are written in PHP, but their server environment may not be FreeBSD, Linux, many PHP sites are running on Windows2000, Windows2003 and Windows Server 2008 systems. Furthermore, the efficiency of running PHP in Windows Server

PHP Learning: The difference between include () and require ()

Include () and require () the difference this is believed to be the most basic PHP problem, but also a lot of companies interview must test the problem. For everyone to review: Require (): If the file does not exist, a fatal error will be reported.

PHP Example: Email address generate picture Program

Save the following file as index.php ?/*MAILX Managment System 0.8 Beta*/Header ("Content-type:image/png");$mailaddress =$_get[' Mailname '];$mailaddresslen =strlen ($mailaddress);$mailaddressimages =imagecreate ($mailaddresslen *10,25);$lenadd =

Ways to develop large PHP projects (IV.)

Advanced OOP technology for br> PHPAfter looking at basic OOP concepts, I can show you more advanced technologies:Serialization (serializing)PHP does not support persistent objects, and in OOP, permanent objects are objects that can maintain state

The core of PHP search engine technology

。When it comes to web search engines, most people will think of Yahoo. Indeed, Yahoo has created an internet search era. However, Yahoo's current technology for searching the web is not the company it developed itself. In August 2000, Yahoo adopted

PHP.ini Configuration Detail Options (2)

Configure each handler to open up to a few Postgres connections, including persistent connections.Sybase.allow_persistent BooleanConfiguring whether to allow the Sybase database to continue to connect (persistent connections) affects the

Learning PHP Summary: Three techniques commonly used in PHP programming

1. Configure the PHP file directory as a scripting language for server-side interpretation, PHP programs are placed in a directory that a server can access. You can generally configure it by modifying the Apache Httpd.conj, such as our sentence

PHP Example: Accurate to every second of the number of online display code

Session_Start ();$dat _now1=date ("H+i+s");/Take time$p 2=explode ("+", $dat _now1);$dat _number1= $p 2[0]*3600+ $p 2[1]*60+ $p 2[2];//take seconds if ($online _time<> "")//Last Refresh Time{$dat _h=substr ($online _time,11,2);$dat _i=substr

Different usage of Get and Post methods for PHP program processing Web Forms

Sometimes we need to keep get and post parameters passed on the next page or other uses!The convenience of work so I wrote this code!I hope we can communicate a lot! ?/*Program Design: Lin Jianxui (fluttering maple design room)Made in Zhuhai by 2007-

Total Pages: 12780 1 .... 1231 1232 1233 1234 1235 .... 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.