Operating system: Windows 7 Ultimate
Web server: IIS 6.1 (internal version 7600).
Database: MySql5.0.67
PHP Version: 5.2.13
I'm also worried that Win7 may be incompatible, and the result is that there is no problem.
First, install MySQL
The looks like this:
';
The static public function eat () {echo ' static method eats ';
The Public Function intro () {echo $this->name; }} error_reporting (e_all|
E_STRICT); No object at this time!
Method can perform human::eat
First, the environment description:
Os:windows Server 2003 R2 Enterprise Edition SP2;
iis6.0;php-5.2.11;mysql5.1.40;
Phpmyadmin-3.2.3-all-languages
Two, configure the PHP steps
1, the download of the PHP compression package to a directory, such
My PHP is getting started, is an article originating from the Internet, this article elaborated the PHP regular expression uses the method, I thought is a very good introductory material, but the study still relies on the individual, in the use
PHP Tree code, you can nest any layer.?
file://establishes the main function of the tree, passing the argument as the number of the root node and the caption of the root node
function Create_tree ($rootid, $roottilte) {
Print_parent_from_rootsortid (
From: http://bbs.phome.net/ShowThread/?threadid=9247&forumid=2
In PHP programming, we often encounter some functions that produce output directly, such as PassThru (), ReadFile (), var_dump (), etc. But sometimes we want to import the output of
Many friends of the newly-learned PHP may be a bit troublesome in the database, especially after mysql4.1.x will appear garbled problem. Here is a simple tutorial, hoping to help a little beginner. Perhaps a lot of friends before is to learn ASP (I
Delete directory directly, if it is empty directory can be deleted, if not empty directory, this time can only delete the files in the directory, and then delete the directory. I encapsulated a delete function and then called the function directly.
PHP Mysqli_free_result () and Mysqli_fetch_array () functions
Mysql_free_result () only needs to be invoked when considering the amount of memory that will be consumed when a large result set is returned. All associated memory is automatically
This article describes the PHP version of micro-trust public platform of micro-letter Web landing authorization. Share to everyone for your reference, specific as follows:
Micro-credit public platform to achieve the implementation of micro-letter
The example in this article describes a method that PHP implements to sort a key in a two-dimensional array. Share to everyone for your reference, specific as follows:
/** * Sorting Query result set * @access public * @param array $list Query
This article describes the PHP version of the micro-public number custom sharing content implementation method. Share to everyone for your reference, specific as follows:
Micro-credit public number in the mobile phone through the API interface can
This example describes the object-oriented nature of PHP. Share to everyone for your reference, specific as follows:
demo1.php
_name = ' Dell ';
echo $computer->_name;
? >
demo2.php
_name;
? >
demo3.php
First, introduce the requirements background:
Invoice method:
0= donation (Don't ask me why, historical reasons)
1= sent to China
2= Request
3= Electronic Invoice
Now you want to test the data submitted by the User:
When you work on exporting, you need to export custom tables or reject the exported Excel format too ugly.
You need to set the color, font size, bold, merged cells, and so on.
Effect Chart:
PHP Code:
/**
* Export File
* @return String
Need to remove the BOM, put the tool.php file in the attachment to the target directory, and then access tool.php in the browser!
Copy Code code as follows:
This file is used to quickly test UTF8 encoded files that are not BOM-added and
Use cookies to save page login information
1. Database Connection Configuration page: connectvars.php
Copy Code code as follows:
Location of the database
Define (' db_host ', ' localhost ');
User name
Define (' Db_user ', '
Yesterday, the PHP space opened, the server is installed PHP4 version, nearly 20 days to start writing with PHP, their own platform is php5, of course, when the writing is still very careful, because almost every piece of code is the main point of
Algorithm idea: Each number as a separate mathematical expression, the expression plus punctuation group synthesis of new expressions, a total combination of 4 times, the expression of all combinations can be realized by recursion.
The code is as
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