Who's going to send me a. htaccess domain name to file? Why can't this be?
Rewriteengine on
Rewritecond%{http_host} ^www.xxx.com$ [Or]rewritecond%{http_host} ^xxx.com$
Rewriterule ^/?$ "http\:\/\/www\.example\.com" [r=301,l]
Who's going to send me
Ask PHP Master---phpnewnew
I have 2 data sheets.
Table A
have field title
b table
There is also a field title
There are 1000 data in table A, and 10 data in table B
Requirements:
Query the title of Table A, if a.title in B.title, then A.title
Has anyone successfully integrated Ucenter?
I can't find a decent development document. If it doesn't work, you'll have to use the lower version of the Discuz.
Pain!
------Solution--------------------
I have been studying this thing, and I really
About MySQL Modifications
ALTER TABLE pre_forum_attachment Change ' aid ' aid ' mediumint (8) unsigned not NULL auto_increment
Can't do anything about it, the hint error is #1264-out of range value adjusted for column ' aid ' at row 3
Just learn php Some questions want to ask you?
1. How do you match PHP environment? is to install each one, or directly install a component, I prefer to xampp a key with the environment. Simple and practical.
2. What do you use to develop PHP?
Million emergency thinkphp in the HTML template inside the picture path how to call
The MyWeb project name is placed in the web directory
Thinkphp put it under the myweb.
Entry file:/index.php
Templates placed in:/tpl/default/index/, such as index.
Smarty 3.1.8 in the registration function Registerplugin use problem
Have encountered such a problem in learning Smarty
In the php file I wrote this
PHP Code
Function Demo ($params) {extract ($params); echo $a. $b; }
Ask for advice, array sorting
There is an array that wants the root B1 and a to be sorted two times, when the B1 is different, according to the B1 sequence, when the B1 phase, in a positive order. Require high efficiency.
PHP Code
PHP Test form submission Find error
if ($_post["submit"])
{
Include ' config.php ';
$con = mysql_connect ("$db _host", "$db _username", "$db _password") or Die (' MySQL database link failed ');
mysql_select_db ($db _name, $con);
mysql_query ("Set
The newly-learned PHP encountered a problem, ask a master ...
I just learned PHP, want to do a message board, to achieve the reply function, reply content and messages are placed in the same table, the content of the reply is update reply content
"
$xml->load ("Test.xml") problem?
When the $xml->load ("Test.xml") has not been closed, the latter action will be followed by a load error.
Is there any way to implement the load action after the previous action is completed?
------Solution---------
When a page is placed with two kindeditor, the Insert picture frame cannot be recalled.
A page put two kindeditor when the insert picture frame can not be adjusted out, display JS error, ke.g[...] is a null or not a object, what to do, please help!
No refresh issue: Select an item in the drop-down box next to the code that automatically appears for that item
Here's how to read the contents of the database into the drop-down box:
if ($mark ==2) {
$sql = "Select Dwmc,id from S_DWMC where dwlb=
Apache Service cannot be installed
I installed the XAMPP, after the installation can not start Apache, found that the system services do not have Apache services ...
Use Httpd.exe-k Install to report "system cannot execute specified program"
Crazy
Warning:mysqli_error () expects exactly 1 parameter, 0 given in
Stored procedure execution no problem, @o_userid in the EMS Sqlmanage test also has the value, but in PHP below the call will be error, please expert guidance?
$sql = "Call Usercheck (
Spl_autoload_register What to do if the load fails?
Today's study encountered two questions, first of all, I use wamp,php5.3.9,
When learning the functions of automatically loading classes
1.__autoload ($className) is dead or alive, I echo inside,
How does MySQL press single-or dual-result classes?
This is a paging code, 10 records per page, sorted in reverse chronological order.
PHP Code
$sql = mysql_query ("SELECT * from article WHERE uid= ' 132828 ' ORDER by Date LIMIT".. ","
Zendstudio
Create a new PHP file with Zendstudio: add.php
The code is as follows:
Add user
Name:
Local access to the file in the Chinese part of the garbled is what happened?
------Solution-------
View the HTML source to see the files and paths, how to protect the core files such as config.php
Open Browser has the ability to view the source files, I wrote the program path is exposed, if download a config.php is also very simple, once
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