If I enter such a line of code in conn.php and run
The computer that holds the database ip:192.168.1.221
$conn = Sqlsrv_connect ("192.168.1.221", Array ("Database" = "DatabaseName", "UID" = ' sa ', "PWD" = ' pass123 ')) Or Die (Print_r
Recently intends to do a high-performance chat server, do not know how Thinkphp3.2 efficiency? So what is the efficiency of the framework? So the test.
Task: Reads 44 data from the database.
1, Tp3.2 Home->controler->indexcontroler->index ()
$m =m ('
Title, in the Windows environment NTS version of PHP does not php5_apache2.dll, and Apache server can not be bundled with the solution. (Do not change to IIS)
Reply to discussion (solution)
You have to figure out a question: What is NTS?NTS
The requirement is this:
Member shopping, will generate an order number, this order number must be a number, and is within a certain range of data, such as 1 to 100,000.
I'm using rand (1,100000), generate a random number, get this random number,
Second-tier remote cities
There's No. NET job or call people are not hiring anymore
Instead of randomly playing a few strokes PHP is still hiring
It's better to learn PHP at the beginning.
I learned in school ASP. NET Java SSH came out after
I small rookie one, in order to self-study and exchange PHP (Jquery,linux,lamp,shell,javascript, Server) a series of knowledge, small rookie created a group. People who wish to visit this blog can come in and talk. Seek common development. Build a
Who knows what the keyword recovery principle is
I knew I'd get the XML and echo the XML back, but what's the requirement? I can't apply it flexibly.
Reply to discussion (solution)
The server is the equivalent of a forwarding server, the
Form form submitted to the background PHP processing, after processing needs to call the day before yesterday JS a method to show a pop-up layer, but the hint error can not find this JS method, call method is directly echo a section of JS code.
wampserver2.0 How to install the extension module by default is no Xdebug extension module How do I install ... I know Wampserver high version comes with Xdebug but the project needs a lower version so.
Reply to discussion (solution)
What
Want to achieve a kick out of the member's function, but how to do in PHP, my idea is to record each member login session ID, to kick a member of the time through this ID to the server to remove this session, to kick the effect, but do not know
In the process of PHP development, sometimes used to intercept a certain string of two special strings, and to do special processing of the string, then what special processing of the intercepted string, we do not care, we first talk about PHP
Like I have an array
$a =array (0=>SDFS,1=>333,2=>444,3=>SADFSAF)
Then I have a string with the string content as follows:
This afternoon, reporters from the third Chinese stone exhibition and Yellow Wax stone Cultural Exposition
I see that there is a select G.name SUM (og.names_number) as Names_number; this g. What do you mean, why there is a decimal point ah, there is no g in the table
Reply to discussion (solution)
. The previous q indicates the table name or the
Use Phpmailer, account and password are correct, and test pass.
1. Single send will succeed
2. However, when writing a cyclic email, only the first successful send, the subsequent send failed, check the log display: Could not authenticate, verify
(* Temporarily not split front controller and application controller, all integrated in command class implementation)
1 Registry mode//Registry mode//Registry mode is used to provide a system level object, accessible anywhere (can use singleton
Of course, the main is to find the bug, otherwise there is no other role, such as it can find out the code logic structure What, there is this confusion, please advise.
Reply to discussion (solution)
It is not enough to find the bug, and the
This simple debugging function seems to be available in the 5.4 version, used before, now forget how to use, who knows?
Reply to discussion (solution)
You mean Xdebug?
No, PHP comes with a simple HTTP feature
Oh, you mean PHP's httpserver,
I just started to learn PHP, learn to write code to do the message board, who help me to see why the page did not write "reply" and "delete" option???
Session_Start ();
$lydb =new lydb ();
if (Isset ($_post["type"])) {
if ($_post["type"
Hello, friends. Recently on the Internet to a Php+websocket sample code, debugging always occurs when the disconnection problem:
Code Address: http://www.lianyue.org/2013/2511/
1, I configured the IP address and open port (8045) as required, and
Seek the Master:
My Computer environment:
Windows XP 32-bit
PHP IDE has Zend Studio for Eclipse, Eclipse for PHP developers
The server has Apache 2.2.25, Wamp integration
PHP version 5.3.28
IDE, server can be swapped, it is important how to
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