The initial path configuration in wamp. now I enter localhost to automatically run the index. php file under the www folder,
However, I want to display the project homepage when I enter localhost,
Thinkphp is used for projects,
The running address
Use ext_skel for php Development extension | to be more ext_skel is a development and generation tool included in the php source code package
You can use C ++ to compile available. so libraries and add functions to extend php functions.
First
If the programming language is female. PHP is the heart of your life, and she is the first girl to pursue your silly goals. You can play it for a while, but never invest too much, because this girl has a serious problem.
Perl is the sister of
When PHPmysql_query () is executed, the following error occurs:
$ Data = mysql_query ("call db. Query ('11','s ')");
If (! $ Data ){
Dump (mysql_error ());
}
This query method is normal, no problem!
Method 2:
$ Data = mysql_query ("SET @ A =
When the php verification code is used as the verification code, I use ajax to submit the user-generated verification code to php for judgment.
Some people say this is wrong. others can bypass js.
What I don't understand is that if he bypasses
Please advise me how to query the value of a range
if($bbb>0&&$bbb100&&$bbb500&&$bbb1000&&$bbb
To implement such a function
I tried to simplify the writing and found the non-recursive binary method on the Internet, but I did not change it
How to use PHP to compile the RESTful interface PHPRS @ github
This is a lightweight framework designed for rapid development of RESTful interfaces. If you are just like me, get tired of using the traditional MVC framework to write microservices or
In PHP, how does one call A variable value in function B in function A to read another function variable in the same class?
Reply to discussion (solution)
Impossible!Read the scope description of variables carefully in the manual.
PHP design pattern series-Strategy pattern 1. Pattern Definition
Similar situations are often encountered in software development. there are multiple algorithms or policies for implementing a function. we can select different algorithms or policies
OOPhp's primary problem: Hello PHPers,
When I learned "Php and my SQL web dev 4th edition" at home, I encountered difficulties. Seeing OO php, I copied the code in the book and put it on the local WampServer to see the effect. The result is
Configure phpopen_basedir on the shared host to improve security and prevent files from being accessed across sites. For more information about the security configuration in nginx/php-fpm/apache mod_php, see my previous article:
Correctly setting
Php garbage collection
Example #1 generate a new zval container
$ A = "new string ";?>
In the preceding example, the new variable a is generated in the current scope. A variable container of the string type and the new string value is
Debug % 57waitingforxdebugsession tutorial environment: wampserver 2.1
Eclipse for php configuration
In preferebces, php debug selects XDEBUG.
PHP Excutable is also configured
Port 19001 is also set for XDEBUG.
PHP. INI is like this.
PHP design pattern series-chainofreelosibilities 1. Pattern Definition
In the responsible chain mode, the request object is connected into a chain, and the request is passed along this chain until one object processes the request. This gives
$. GetJSON cannot get the php output value. js code:
Start_btn.click (function (){
$. GetJSON ("data. php", function (json ){
If (json ){
Var len = json. length;
_ Gogo = setInterval (function (){
Var num = Math. floor (Math. random () * len );
Var
Top10: PHP automated testing framework is a very tricky issue for many new PHP developers to test their own code. If something goes wrong, they will not know what to do next. It is unwise to spend a long time debugging PHP code. The best way is to
Php display page location problem: want to display echo to the specified location
Reply to discussion (solution)
Quotation marks are required when the echo content is html code.
Quotation marks are required when the
I have several databases for sphinx query. each database uses sphinx to create different indexes.
But the query goes wrong.
For example, I want to query the required content from database.
How can I specify the index of the database to be queried?
Good php frameworks you have used. we recommend that you use them! I have recently completed the configuration and want to use PHP as the background, but I don't want to worry too much about it. I just need to use the next framework. I 'd like to
PHP? HOSTS
1, Use Text Editor to open the following file with Administrator privilege (c:\windows\system32\drivers\etc\hosts)2. Modify the hosts file and add the line (127.0.0.1 ***************)3. Then save the change, after site, we can access our
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