Ask the great God, Smarty wrong
User:
Title:
Content:
I would like to verify the form, but there is no problem, but in the HTM added to this section of
Which great God can come to me to solve the problem of accessing MySQL when a user logs on
See what's wrong with the code below, why not run?
Session_Start ();
mysql_connect ("localhost", "root", "11111111")
Or Die ("Cannot connect to database,
PHP Custom APK installation Package instance
This article describes the PHP custom APK installation package method, share to everyone for your reference. The implementation method is as follows:
Open ($file);//Add File//due to APK limit can
Problems with array processing
Such a one-dimensional array, how to get him in order according to the store name, color, size of a multidimensional array?
------to solve the idea----------------------
Write a getall function and a query function in
Linux+nginx using if to determine the problem
Recently encountered a problem: my local Operation project environment is Wamp, and then uploaded to the service space is Linux+nginx. When running locally and running in the WAMP environment, the
List () and each () problem
This post was last edited by u014402634 on 2015-04-02 21:06:29
$fruit = Array (' a ' = = ' Apple ', ' b ' = ' banana ', ' c ' = ' cranberry ');Reset ($fruit);while (list ($key, $val) =each ($fruit)){echo "$key and $val";
PHP page transfer parameters of the problem, seek advice
This post was last edited by Hisweetgirl on 2015-04-17 18:09:12
$query = $db->findall ("P_newsclass where f_id= ' $_get[cid]");while ($row = $db->fetch_array ($query)) {$news _class_in.=
PHP scheduled execution of task settings detailed
One of my buddies asked me this question today, the problem is that he has an IIS server, to schedule a scan of the PHP script, this How to do, every hour, the following is the Windows settings
1)
Wampsever Configuration Issues
I installed Wamp on the server side, the port is set to 6666 configuration good site, the computer through the local area network can be accessed, the address is 10.10.10.**:6666, Web page display no problem. However,
User management interface How to do, output all the user name, operation only need to delete on it
Like this.
User name action
Zhang San Delete
John Doe Delete
Harry Delete
Thank you!
------to solve the idea----------------------
List is all select
About the session cross-page loss issue
The same code under Windows Aparhe Server is running normally, there is a problem under the CentOS Nginx. specific as follows;
$_session[' username ' in a.php cannot be used in b.php. The session IDs in the
PHP Optimization Chowder
The article about PHP optimization is often to teach you how to write efficient code, this article intends to discuss the problem from another perspective, teach you how to configure an efficient environment, so the same
PHP deletes the entire directory that matches the criteria
PHP
/** * @name The Delfile function is used with the Deldir function to delete the entire directory that matches the condition * @param string $path Specify the action path *
An analysis of the header output problem of PHP headers function
The header (' location:http://www.baidu.com '); * * But running the above discovery successful jump name is because this HTTP header does not conform to the HTTP specification, it
Windows2003 on a 64-bit system that does not work with PHP
"With the popularity of 64-bit technology, many people are starting to use 64-bit servers, but many people may find that PHP cannot run directly on a 64-bit system. ”
With the popularity
PHP Code encryption
Remember I have a very good friend once poured bitter bitterness to me, originally he added half a month night shift, to others developed a set of PHP program, the result met a dishonest businessman, people received the source
Discuz Two development notes (a) full analysis of the------$_g
$_g saved the discuz!. All preprocessing data in theCaching can improve the performance of the program, some configuration data is not necessary to query the database every time, as
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