STRNATCMP () function
The strnatcmp () function is a comparison of numbers in a string by numeric size
$str 1= "MRSOFT1";
$str 2= "MRSOFT2";
Echo strnatcmp ($str 1, $str 2);
The expected result is-1, the result is 1, what is the reason
------to
So with 01 strings
Today, when doing something, found a few interesting places, write down to share with you. Start with a few small problems
How do you record an age, and you can express something like "50~70"?
Maybe you'll say it's easy. With two
Ask "UnionPay interface" problem
Recently made a project to use the interface of UnionPay, but that the PDF interface document did not see what the meaning of the end. Has anyone done anything like that?
For example, I want to test a POST request,
Development Study Diary (VI): weiphp framework
recently, the focus is on weiphp, the open source third-party public platform framework.
Find the information on the Internet, found this. Very early, on the preliminary study of thinkphp and
Can you do a website without a frame?
So how do you choose ........ .........
------to solve the idea----------------------
Of course, you just started using the frame, you can't learn.
------to solve the idea----------------------
The framework is
PHP gets all the links in the specified URL page
Form:http://www.uphtm.com/php/253.html
This thing in fact, we are commonly used by developers, used to do a crawl other website friendship connection used, and today saw a friend organized a PHP get
Ask a simple question about PHP. About the dynamic content of the page!
Dynamic settings are required here
Dynamic settings are required here
Dynamic settings are required hereDynamic settings are required hereDynamic
Where does the function in PHP look at the underlying implementation of the function????
Baidu has not only the use of functions!
------to solve the idea----------------------
Look at the source to go Ah!
------to solve the idea----------------------
PHP generates a classification tree after all categories are removed through the interface, in the case of infinite class classification
Application Scenarios:
Through the web interface to get to the infinite classification of the Department of
PHP iterates through all the files in the directory
The code is as follows:
function Listdir ($dir) {if (Is_dir ($dir)) {if ($dh = Opendir ($dir)) {while (($file = Readdir ($DH))!== false) {if (Is_dir ($ Dir. " /". $file)) && $file! =". && $file! =
Thinkphp index.php method in Wamp configuration remove URL
Commissioning for a long time, only to find the simple things complicated.
In fact, the principle is very simple.
1. In the configuration file
' Url_model ' =>2,
Set to 2.
2. In
Urgency ~ ~ ~ The site can not access the issue, help the Great god ~~~~~
I bought a space and then posted the site in space, using Apache+mysql. The problem now is that I can access it with both 127.0.0.1 and localhost, but the extranet will not be
Nginx Common Pseudo-static rules (rewrite)-discuz x3.2-wordpress-phpcms-ecshop-shope (RPM)
When we move from Apache server to Nginx server, their pseudo-static rules are different, so you are familiar with the Nginx Server pseudo-static rules,
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