Some of the more common questions about the interview process in PHP
Inverse string can use "Strrev" but the final thing is multibyte string
Invert string function Mb_strrev ($str) {$len = Mb_strlen ($str, ' utf-8 '); $r = Array (); for ($i =0; $i
Algorithm collection of interview questions
There is a string, a, B, to extract the characters contained in the AB string, for example: ①a= "Hello", b= "Jeesite", then Output "E", ②a= "common", b= "month", Output "MnO", the order of output
How PHP configures the virtual directory under Windows
1. First locate the Apache configuration file httpd.conf look for the following code:
# Virtual Hosts#Include conf/extra/httpd-vhosts.conf
Remove # Include conf/extra/httpd-vhosts.conf #, as
Common validation Regular expressions for PHP
Number, mobile phone number, QQ number, URL address legality check
1. Verify that it is an integer
1 function isnumber ($val)2 {3 if(ereg $val))4 returntrue; 5
When action is empty, Linux is compatible, okay?
This post was last edited by GOIMT on 2015-08-31 18:55:44
Form action= ', action is empty, win test is normal, do not understand Linux can be used, compatibility is good, is not related to php.ini
ThinkPHP3.2 determine whether to access the phone and jump to another module method
directory structure Common module Common,home module, Mobile module Configuration Application/common/conf/config.php File'module_allow_list'='Home,mobile'Next
How to make a div float on top of another Div
It's just the demo.
DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">Metahttp-equiv= "Content-type"content= "text/html; charset=gb2312" />
thinkphp Source Analysis (i)
In the work, I came into contact with the development of the thinkphp framework, perhaps for most children's shoes, is a simple use, but as a technology enthusiasts, or do not give up a glimmer of hope, seriously began
Click Load more at the bottom of the article list, even if sharing the code also ask questions
JQ Ajax Code:
ThinkPHP3.2.3 Front Controller index method:
Public Function index () {$p = $_post[' P '];//3 6 9$amount = 3; Show number of bars$count =
REDIRECT jumps to the Web site's external chain
In the Emlog comment function, the message person can fill in the website address. But there are times when we don't want to have too many cluttered external links on our site. Of course, we can add
Ask to generate letters plus numbers
There are 26 letters {A-Z} and 10 numbers {0-9}
If you want to generate 8-bit characters, the case-sensitive,
This arrangement is (26+26+10) 8 times Square = 218,340,105,584,896, which 218 trillion
But adjacent
Query data return error warning in SAE
SAE platform, the database is open, the table has been built, want to implement the function: Query field A contains the record of content A, return the field B value of the record:
The code is as follows:
MySQL Query question---80 points-including the previous points
This post was last edited by amu1433 on 2015-07-13 12:16:30
The previous issue of this has a problem http://bbs.csdn.net/topics/391071156 re-correction ... ID name nid1 Name 1 33 Name 1 3
Laravel Installation Record
System environment: ubuntu-14.10-server-i386 (+) LAMP system default installation
According to: http://laravel.com/docs/5.1 official documentation, ready to install via Composer
1, install Composer.
Reference:
thinkphp bottom Set jump 404 page
After the development of the project to block the error, in the bottom directory to write a 404 page, the entry file App_debug to False, the code uses the following methods1. Using an empty operation, _empty (),
Ask the cow to explain the server found on the foreign cattle people wrote the Trojan
$sF = "Pct4ba6odse_"; $s 21=strtolower ($sF [4]. $sF [5]. $sF [9]. $sF [6]. $sF [3]. $sF [+]. $sF [8]. $sF [+]. $sF SF[7]. $sF [8]. $sF []), $s 20=strtoupper
Solving maze problem by backtracking
Introduction
Recently in the Leetcode to see some algorithmic problems, some look at a very simple very common things, unexpectedly suddenly think not how to solve, such as said: 实现sqrt函数 , 求数组的排列 . If the high
Beginner's advice on how to recycle attachment labels in articles
This post was last edited by qq33184 on 2015-09-06 00:32:33
$article [' content '] = Str_replace (' [attach_40] ', $this->get_attach_url (' + '), $article [' content ']);$article ['
Basic questions of PHP face questions
1. What are the methods you use to solve traffic problems for large-volume websites?
First, verify that the server hardware is sufficient to support current traffic
Second, optimize database access.
Third,
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