1.
CD geoip/
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
gzip-d GeoIP.dat.gz
ls
GeoLiteCity.dat
Other libraries: viewing
http://dev.maxmind.com/zh-hans/geoip/legacy/geolite/
2.
wget
root@asd:/xx/production/xxx# apt Remove php-snmp root@asd:/xx/production/xxx# Apt Autoremove
Reading package lists ... Done building Dependency The Reading state information ... Done the following packages would be removed:libsnmp-base libsnmp3
Today has been studying how to save the session to memory, we first say why to save the session in memory, what is the benefit.Because if Session_Start () is set up in our PHP program, then each person who accesses the file will produce a session
Record the
If you want to store binary data, such as picture files and HTML files, directly in your MySQL database, this article is written for you. I'll show you how to store these files through an HTML form, and how to access and use them.This
Create, read, update, and delete (Create/read/update/delete,crud) operations are the most basic database operations, but they are also the most important operations. CRUD operations are usually done using the Structured Query Language (structured
[ArticleAuthor: Zhang banquet this article version: V1.0 last modified: 2008.07.30 reprint please indicate the original article link: http://blog.s135.com/read.php/361/]
Yesterday, a friend asked me how to solve the "502 Bad Gateway" error when he
Install Zend OptimizerYou can use the official EXE, zendextensionmanager. dll and Optimizer-3.3.0/php-5.2.x/zendoptimizer. dll can be extracted and placed in a Zend folder, put the location, directly configure PHP. ini.
1. Assume that the file
ArticleDirectory
Debugging tools
Test and optimization tools
Document tools
Graphic Processing
Code optimization
Version Control System
Useful extensions, tools and Classes
Online tools and resources
Tools in the
CopyCode The Code is as follows: $ conn = new COM ("ADODB. Connection ");
$ Connstr = "driver = {Microsoft Access Driver (*. mdb)}; DBQ =". realpath ("www.jb51.net/db.mdb ");
// The COM interface is required for connecting to access.
$ Conn-> open ($
Introduction: This is Php study note (3)-a detailed page of operators and control structures. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
I have read discuz. I don't like it. It's too troublesome for pictures and fonts.
The method I use does not require additional images, fonts, or php support libraries, because my method is to directly use php functions such as ord and chr to operate
I. Differences between public, private, and protectedPublic: the permission is the largest, and can be called internally or by instances.
Protected: protected type, used for calls of this class and inheritance class.
Private: private type, which is
Json is often used when php and javascript are used to implement some functions. Json is a data format of js and can be directly parsed by js. Php cannot directly read json data, but php provides the json_decode function to convert json data, which
The php error log contains the following prompts:
[27-Aug-2011 22:26:12] PHP Warning: Cannot use a scalar value as an array in/www/hx/enjoy. php on line 14[27-Aug-2011 22:26:18] PHP Warning: Cannot use a scalar value as an array in/www/hx/enjoy.
The highlight of this article is that the regular expression is more complex, namely, embedding (-_-) embedding, which is a very powerful usage of the Copy function.
> I heard from NsYta that the subject of Xiao Xie is too white. I am too busy
Copy codeThe Code is as follows: /*
What you learn and do is published to facilitate your own reading and publishing. You are welcome to give your expert guidance ......
Tip: The test is successful in this example.
Scenario Design]
Simulate the
PHP arbitrary image cropping to a fixed size, read PHP arbitrary image cropping to a fixed size, make a homepage call Image, sometimes need to get a fixed size image, because the image position on the homepage is usually specified by the designer,
In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server. Today, the 'large server' mode has passed and
Prerequisites: groupby, MYSQL functions week () and month () generally have a field to record the article's CTR when designing the database, if we want to calculate the ranking of click-through rates for one week or one month, this field is
This is an interesting concept. in English, daemon refers to the "genie", which we often see in Disney animations. some of them will fly and some will not, I often turn around the main character of cartoons and give some advice, sometimes hitting
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