How to send spam messages to anti-posting machine
Recently I made a local portal, but there is always a post machine to publish spam information, I used a few ways are not, such as modify the submission table field, modify the path of the submission,
The value of system login in PHP
I would like to ask, I log on a PHP system, how to change the user's user name and password, because I in another page need to query the database based on this user name to fetch the other values of this user, and
PHP inserts 1000 data into MySQL, how to write???
for ($i =1; $i {
$id = "100";
$username = "XM";
$sql = "INSERT into Tb_user (id,username) VALUES (' $id ', ' $username ')";
mysql_query ($sql);
}
I did not set the ID and username into the
Ask a question about smarty template technology
Ask the following function how to show in Smarty template? Thank you.
for ($i =1; $i $TTT = GetTitle (rand (0, $TC));
?>
. html "target=" _blank ">
Apache Server cannot run PHP
System: RHEL6
Lamp Construction Completed
Apache starts normally
But unable to run PHP files, in the browser directly display the PHP code!
------Solution--------------------
Phpinfo ();
?>
So
How to do the background Rights Management module
Need to do a CMS site, Php+mysql, the site background to have different roles of different administrative rights, such as the Super administrator has all the administrative rights, editors can only
PHP5 study record (2)
First, heavy load performance
1. Overloading of properties and methods
PHP allows for overloading of property access and methods by implementing special proxy methods, which are invoked when the associated property or method
PHP Form form related issues
The PHP code is as follows:
Price :
show_by_price.php key processing code is as follows:
if ($_get[categories]== ' Pleasechoose ') {
if ($_get[price]== ' Please_choose ') {
$result _price=null;
Echo
PHP Implements Balanced binary tree (AVL tree)
Deletenode (' n ');(non-balanced tree can be deleted, balance tree not write delete operation) Print_r ($tree->gettree ());?>
bstorder.php
data = $data; $this->left = $left;
An in problem in SQL statements
My Usersys watch is like this.
Submit_user table is
My SQL statement is:
SELECT fullname, sum (JKD)
From Submit_user
WHERE FullName
In (
SELECT FullName
From Usersys
WHERE Department = ' Image Production
How does this list show up in the loop?
How not to upload image function
How does this irregular picture loop write code?
------Solution--------------------
PHP Code
This was a test this is a test ';}? >
Is that a good news? MySQL 5.6.6 has built-in memcached support
MySQL Latest development version 5.6.6 is not yet released, but from the official website of the changes document can be learned that this version will be embedded memcached support,
SQL statement for help, do not know how to write.
I now have two tables A and B table A table has a field is Zhanghao,mobile, b table has zhanghao,username,address, now there are a total of 15 data, B table has 20 data, I want to table A and B table
. htaccess domain name rewriting issues?
For example, the same support PHP space and binding there are 2 domain names www.aaa.com and www.bbb.com;
If the space contains at least the following files and directories (folders):
(Note: The directory or
Memcache Installation not successful
I put the memcache.exe in the C drive. And the-D insall and-D start are executed in CMD.
Telnet and stats are also normal,
PHP.ini also added the Extension=php_memcache.dll.
And put this file in the Ext folder.
PhpMyAdmin 3.4.5 Newspaper fucking session error
PhpMyAdmin 3.4.5 Newspaper fucking session error
Keep on reporting this error
Phpmyadmin-error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and
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