Link issues
Clicking on a link in http://127.0.0.1/(local) does not jump to the page you have clicked. Instead, the HTTP://127.0.0.1/is reopened, and the pictures in the HTTP://127.0.0.1/are not displayed. I'm not sure if it's Apache or PHP or
This post was last edited by jdgdf566 on 2013-07-02 14:16:48
Test APC PHPTest the effect of PHP compilation cache APC.
The command using the AB test is:/ab-n 1000-c 5 http://localhost/abtest.php
To turn on APC:
Server
Multi-lingual problem, I now use gettext many languages, there are several problems do not know how to deal with:
One. How to display the appropriate language by selecting the drop-down list. (directly by selecting the drop-down list to display
This post was last edited by bulls5988 on 2013-07-02 15:25:26
Give a reply to a good knot!!!!!!!
Reply to discussion (solution)
No one knows it at all?
Error log for PHP
[Wed June 26 20:20:40.421500 2013] [Core:warn] [PID 2288:tid 180] Ah00098:
multithreaded PHP
On the Internet to see some of the demo, a lot of the same, their own to get the test, a bit of a problem:
a.php
function Runthread () {
$fp = Fsockopen (' localhost ', $errno, $errmsg);
Fputs ($fp, "get/a.php?act=b");
Fclose
This is a URL address, the truncated parameter string.
a=ddddd$page=2334&www=2222
page=1111&m=3234&o=r2345
A=ddddd$wc=2334&page=plo
These three kinds are possible. Front, middle, and last.
How to take the page= parameter value, kill it.
I
MySQL PHP String Function database
I want to put $row _hx[' Content_original_autor ' in the database; It is shown by a page of 10, but the repeated display is removed, that is to say $row _hx[
echo "
keywords)." \ "/>";
What is the meaning of \ and \ In this code? What's the point of having so many numbers?
Reply to discussion (solution)
\ is used to escape, avoid "conflictsAs for "really don't know how to say, HTML standard
Public Function Gettree ($data, $pId =0, $parentId = ", $categoryId =", $categoryName = ")
{
How to save the variables I passed in, the next time I can directly use the variables I passed in
Reply to discussion (solution)
What's the next point?
Generating a static page
In ASP, the XMLHTTP object's open method is usually opened to execute a dynamic page, then the static HTML code generated after the dynamic page execution can be saved by a ADODB.stream object and then written to a text file.
target= "_blank" title= "//target=" _blank "title="
What is the difference between these two lines of code? I use the first line in the source code to find, for the second line can be, ask what the situation this is?
Reply to discussion
My understanding now is:
At the beginning of the server side through the interface to the SessionID to the client, the client (Android) browsing the entire application through the URL of the way with SessionID and the server to interact.
The problem
Html
If the page is static, how does HTML receive parameters? No clue. Ask for advice
Reply to discussion (solution)
Can static pages receive parameters?
Can static pages receive parameters? Brother, your brick factory, hurry up, the posts are
I am using thinkphp, for example, after verifying the user's username, I would like to pop up a window prompt login failure, and then re-display the template
So I'll write that.
echo ""; $this->display (' XXX ');
But this will cause the CSS
After you click Submit
The page you specified cannot be accessed!
Error Type: 500
Controller code
Public Function additemaction () {
$name = $this->getrequest ()->getparam (' name ');
$description = $this->getrequest ()->getparam (' description ');
Test ();? >The parent class in this code has a private method. The PHP rule is not that the subclass cannot inherit the private method of the parent class, but I wrote a method with the same name in the subclass when one of the parameters has an
With the last punctuation or a space to delete the following content, how to write?
Reply to discussion (solution)
First of all, what is the encoding and whether the punctuation includes full-width? Or is punctuation a symbol of the national
A framework for adding and deleting SQL Yii data
[Color= #0000FF] 1. $sql = "INSERT INTO Tbl_user (' id ', ' username ', ' password ') VALUES (null, ' alu ', ' 123 ');
2. $sql = "SELECT * from Tbl_user where id=1;
3. $sql = "Update tbl_user set
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