Virtual Host win2003 system, I have configured ISAPI mode on the server, In the httpd.conf wrote some pseudo-static rules, but no effect, I asked the next server provider, they said in the background of the program to open the URL rewrite mode, this
In the local development of small Web site, the use of Phpexcel export data to Excel, tested normal. But when the program is copied to the server, the problem comes, the original can lead the data, the results will not guide the data. The key is not
Collect the output error to see if it is a regular statement problem
function Request_by_curl ($remote _server, $post _string) { $ch = Curl_init (); curl_setopt ($ch, Curlopt_url, $remote _server); curl_setopt ($ch,
The problem is that payment can be paid successfully, but will generate two order numbers, resulting in the inability to go to the nuclear list, please God to see what is the problem
Reply to discussion (solution)
No great God to help me?
PHP App Login interface How to write, there are no instances, the big gods, do the app to do login this piece, the website is written in PHP language, the app sends login requests, server PHP how to write
Reply to discussion (solution)
The
thinkphp version 3.2.3
Controller code
Assign (' name2 ', $name); Question 1: There will be an error syntax error, unexpected T_object_operatorthis->display (); }}
Index.html code in the view directory
This is view{$name 2}
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
Get the extension in the URL, note that the URL does not
Words: Comments table, where message_user_id is the Where condition
Where message_id needs to get the title of the corresponding ID in the messages table
Where user_id needs to get the name from the users table
Seeking SQL statements
Reply to
$conditin = ' 8>0 ';
if ($conditin) {$value = 1;} else {$value = 2;}
$conditin came in from outside.
How do you judge that it is a normal conditional statement and let it execute?
If $conditin = ' 3 is greater than 1 ' then the conditional
I write this article when the Laravel version is 5.1.4
1.composer Installation
This should all be, mainly the installation of UNIX systems:
5.1.4 Required Minimum PHP version >=5.5.9 This official request, see the documentation specifically
Just contact this template, ask for help, the problem is as follows
Loop inside loop For example $smart _aaa_arr can be cycled three times, resulting in ABT 1 2 3 respectively
Then I hope this 1 2 3 can be used in the second cycle can be drawn $g
PHP extension Libzookeeper (https://github.com/Timandes/libzookeeper) is primarily used to connect zookeeper clusters using PHP code.
The extension simplifies the functionality of the original zookeeper C Client (https://zookeeper.apache.org/),
Yesterday interviewed a vertical community-based start-up company, one of the topics "How to achieve a common session of multiple servers", this problem, his answer to the interviewer is very dissatisfied.
Multi-server session sharing, after the
Code one:
code two:
I write code two, the project can run normally, but the image upload, the point of play has no effect, which is why?
Reply to discussion (solution)
Space does not belong to picture data
Space does not
1. It's normal in IE10.
2. Firefox and roaming will error
Enter English normal, input Chinese will prompt the following error
( ! ) Notice:iconv (): detected an illegal character in input string inch D:\wamp\www\cangku\checkname.php on line 7Call
For example, there are many files in the Temlate directory.
With a.html b.html list_111.html list.html list222.html
I want to read it out.
Files that begin with List
The result is list_111.html list.html list222.html
Reply to discussion
$str = "
;
$patten = '//';
$str =preg_replace ($patten, "", $str);
Echo $str;
echo "\ n";
$patten = '//';
PHP regular positive and negative understanding
This should be understood as having at least 8 characters between <> and not starting
Modify a well-done system, parameter acquisition method can not understand, please the great God Advice
After the page is submitted to action processing
The end part of the parameter code is written like this
Echo ' {' Code ': ' 0 ', ' giftpath ':
This is a custom class that implements garbled characters automatically converted to Chinese Changcode
Class changecode{
Private $str;
Private $input;
Private $output;
function __construct ($input = "", $output = ' gb2312 ') {
$this->input =
1. Use of stress test AB learning
Use the software and commands that are used by Linux, this is the command
Request per second to be possible large implementations of large concurrencyTime per second is likely to be small, small means faster
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