The website encountered an error during retrieval. The website may be closed for maintenance or the configuration is incorrect. My files are uploaded to the server. when I open the website, the message "& nbsp;" is returned when I retrieve http://www.hu0010.com. The website may be closed for maintenance or the configuration is incorrect. I uploaded index.html at the beginning, but the PHP code in it does not seem to be usable. Other websites encounter errors during retrieval. The website may be closed for maintenance or the configuration is incorrect.
When uploading my files to the server, the following prompt is displayed when you open the website:
The website encountered an error while retrieving http://www.hu0010.com. The website may be closed for maintenance or the configuration is incorrect.
I uploaded index.html at the beginning, but the PHP code in it seems to be unavailable. the other code is displayed as normal. after saving it as index. php and opening it again, the above prompt is displayed. I cannot open it!
Website content index. php
Blog
"Hello World !"
- Homepage
- Blog
- Message Board
Include ("conn. php ");
?>
If (! Empty ($ _ GET ['Keys ']) {
$ W = "'title' like '%". $ _ GET ['Keys']. "% '";
} Else {
$ W = 1;
}
// Pagination
$ Pagesize = 10; // Number of Entries displayed per page
$ Rs = mysql_fetch_row (mysql_query ("select count (*) from 'blog '") [0]; // gets the total number of records
$ Pages = ceil ($ rs/$ pagesize); // total number of records/number of records = number of pages ceil indicates that more than 1 is allowed
// Obtain the value of the page. If no page exists, the page number is 1.
$ Page = isset ($ _ GET ['Page'])? Intval ($ _ GET ['Page']): 1;
$ Offset = $ pagesize * ($ page-1 );//
$ Query = mysql_query ("select * from 'blog 'order by id desc limit $ offset, $ pagesize ");
While ($ rs = mysql_fetch_array ($ query )){
?>
">
"> Read the full text>
Category:
Switch ($ rs ['F _ id']) {
Case 1:
Echo "personal logs ";
Break;
Case 2:
Echo "Category 2 ";
Break;
Case 3:
Echo "Category 4 ";
Break;
Case 4:
Echo "Category 4 ";