For advice Cache-control control of the head (affecting the cache function of his own writing)
Made a PHP-controlled cache of its own, relying on etag and file caching to handle
If the browser sends an etag, compare the ETag, send 304,etag
CI Integration smarty
1. Download the Smarty template to the appropriate site;
2. Copy the Libs directory in the source code into the project's libraries directory and rename it to smarty3.0
3. Create a new file ci_smarty.php within the Libraries
Dynamic cache in Thinkphp (S method) and fast cache (F method)
The system is cached by default, and we can define other caching methods in the project configuration file, for example, modify the default cache mode to XCache (of course, your
PHP Simulation Market Login, need verification code problem
With PHP simulation market listing, after the simulation landing, a time will not be able to login, need to verify the code, see how to deal with, ask the next experienced friend, thank you!
Ajax and PHP value-transfer problems
Ajax Section index_test.php file
Background script Processing Section data_test.php file
$username = $_post[' username ');
echo $username;
found that the pass value is not successful, the script cannot get
Help, this problem has been puzzled me for several days.
if the GID equals ID, add the new value, how do I do it?
------to solve the idea----------------------
$start = Array (Array (' id ' = ' = ', ' name ' = ' Zhang San ', ' title ' = ' work
How PHP Sets Global variables
RT, I put some information in the TXT document, and then every time I call this PHP page into an array, I want to know how to let this array cache in memory, every time I judge if it does not exist and then go to read,
What does PHP call mean?
In the next just learned PHP, in my understanding of the general call class in the way is
1, $a =new a ();
$a-ameth ();
2,a::ameth ();
But now it is required to learn the CI architecture, and I think the calling method
URL configuration
HTTP://LOCALHOST/DATE/?ID=123&NUM=101 configuration to Http://localhost/date/123/101, can write a specific code for me to see it?? Thank you
------to solve the idea----------------------
TP Frame of it!!
------to solve the idea-----
When you return with Eval, you don't always get the value.
-------------------------------------------------
Public Function Ajax () {
Var_dump ($_post);d ie;
$data =array ();
$Model = new Model ();
$data [' content ']=$_post[' content '];
$data ['
How does the PHP program debug?
After sending a request, the browser has not received the returned data, has been the padding state, after adding a breakpoint in the code, or the same, only restart Apache and MySQL after the normal request. But the
Problems with Isset () and empty ()?
I see a lot of the company's code is if (Isset ($var) &&!empty ($var)), can really be written such a necessity?
I surf the internet Baidu, Baidu also some people say when want to judge a variable exists and is
PHP to send mail.
Generally write the function of e-mail, consult the need for a mail server, I want to write a program to send mail directly,
Is through the socket, such as the large direct SMTP package to the target mailbox, who has this
PHP asks the great God to guide the function of extracting the text on the picture!
Want to use PHP to write a picture to extract the text on the function. Ask the Big God to guide my brother! Thank you so much!
------to solve the idea---------------
How does PHP judge multiple image filenames and return missing images?
How do you get help from the great God? For example there is a list of fields saved (' 1.jpg ', ' 2.jpg ', ' 3.jpg ');
How do you decide if he is the same as the picture field
Custom routing rules in the CI framework
In the CI framework, a URL and the classes in its corresponding controller and the methods in the class are one by one corresponding, such as:
Www.test.com/user/info/zhaoyingnan
Where user corresponds to
A forum for grass-roots code farming
Grassroots code to write the forum, please master advice.
Downloads:http://pan.baidu.com/s/1gdo8sld
------to solve the idea----------------------
Landlord refueling.
------to solve the
How does MySQL confirm that the Update,delete,insert statement was executed successfully?
Title, now through Mysql_affected_rows () in judgment, so that the words will cause almost every sentence update,delete,insert behind must follow a sentence
if
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