My computer is equipped with Phpstudy integrated software that can be connected to the MySQL database by opening the DW before learning. Backstage I installed an EPP software, with EPP handwritten a registration page, also handwritten the connection database program. The connection was successful. But when I want to use DW to connect MySQL database, I can't connect it. The DW hints are:
HTTP Error 404 could not find file. The problem may be caused by a few reasons:
1) There is no test server running on the server machine.
2) The test server specified for the site is not mapped to Http://localhost/_mmServerScripts/MMHTTPDB.phpURL. Make sure the URL prefix is mapped to the root of your site
Ask God for help.
Reply to discussion (solution)
Enter your project address directly in the browser and try it out.
Enter your project address directly in the browser and try it out.
Thank you so much! Although you can not understand my meaning, but to say the address is very helpful to me, I went back to the test server address modified to the root directory, it is OK.
$shic = ". /upload/". $fname;
mysql_select_db ($database _conn, $conn);
mysql_query ("INSERT into CP (Shc,shic,djs,nr,jg,ssel) VALUES
(' $_POST[SHC] ', ' $shic ', ' $_post [DJs] ', ' $_post [nr] ', ' $_post [JG] ', ' $_post [Ssel] ');
Mysql_close ($conn);
Header ("Location:". ") Cp.php ");
?>
Heroes, help me look! Connection code several times, the other plug-in connection is good, but this time not alive!