It seems to be a bom problem_PHP tutorial
It seems to be a BOM problem
The error is: Cannot modify header information - headers already sent by ……
I’m sure there is no output before the header
Use editplus to also remove bom
phpini is also set to on
Ob_start
was also added before
Nothing works [img]http://www.111cn.cn/bbs/images/smilies/default/mad.gif[/img]
Is there any other way?
Best answer[url=http://www.111cn.cn/bbs/space.php?username=qxhy123]Link tag qxhy123[/url]
[url=http://www.111cn.cn/bbs/space.php?uid=66514]Link tag[img]http://www.111cn.cn/server/avatar.php?uid=66514&size=small[ /img][/url]require_once('db.php');
Please comment out this sentence and take a look. It is probably because the BOM in db.php has not been removed. There is no problem with your code here.
D8888D reply content------------------------------------------------- ----------
require_once('db.php');
Please comment out this sentence and take a look. It is probably because the BOM in db.php has not been removed. There is no problem with your code here.
D8888D reply content------------------------------------------------- ----------
Girl, please post the code and take a look
D8888D reply content------------------------------------------------- ----------
//fireseno worked at Fri Mar 06 23:29:07 CST 2009
session_start();
require_once('db.php');
//print_r($_POST);
$num=mysql_query("select user,pass from user");
while ($run=mysql_fetch_assoc($num)) {
if ($_POST['name']===$run['user']&&md5($_POST['name2'])===$run['pass']) {
$_SESSION['userid']=$_POST['username'];
header("location: lo.php");
die();
}else {
header("location: msg.php");
}
}
ob_end_flush();
?>
Copy code
D8888D reply content------------------------------------------------- ----------
There is no problem with db. .
depressed! !
I just re-wrote the code and it's fine again. .
I wonder if something will go wrong again soon...

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

If you encounter an error message when using your printer, such as the operation could not be completed (error 0x00000771), it may be because the printer has been disconnected. In this case, you can solve the problem through the following methods. In this article, we will discuss how to fix this issue on Windows 11/10 PC. The entire error message says: The operation could not be completed (error 0x0000771). The specified printer has been deleted. Fix 0x00000771 Printer Error on Windows PC To fix Printer Error the operation could not be completed (Error 0x0000771), the specified printer has been deleted on Windows 11/10 PC, follow this solution: Restart Print Spool

Table of Contents Solution 1 Solution 21. Delete the temporary files of Windows update 2. Repair damaged system files 3. View and modify registry entries 4. Turn off the network card IPv6 5. Run the WindowsUpdateTroubleshooter tool to repair 6. Turn off the firewall and other related anti-virus software. 7. Close the WidowsUpdate service. Solution 3 Solution 4 "0x8024401c" error occurs during Windows update on Huawei computers Symptom Problem Cause Solution Still not solved? Recently, the web server needs to be updated due to system vulnerabilities. After logging in to the server, the update prompts error code 0x8024401c. Solution 1

When using word in WPS, you often need to insert pictures, tables, etc., but if the inserted table is not centered, it will affect the beauty of the entire document. So how to set the centering of the WPS table? Today I will teach you how to make adjustments. The specific steps are as follows. Come and take a look! 1. The table in the picture is not in the middle of the page, which is not very beautiful. I want it to be centered. 2. First, right-click the mouse in the table (as shown in the picture). 3. Then click [Select All Tables] in the right-click menu (as shown by the red arrow in the figure). 4. After clicking, the table will be fully selected (as shown in the figure below). 5. At this time, click to open the [Start] tab of wps text (as shown by the red arrow in the figure). 6 o'clock

Are you also using Adobe Acrobat Pro 9 software in your office? But do you know how to insert pictures in Adobe Acrobat Pro 9? Below, the editor will bring you the method of inserting pictures in Adobe Acrobat Pro 9. If you are interested, take a look below. Open the Sample.pdf document in Adobe Acrobat Pro9, click "Tools" - "Content" - select "Edit Object" on the right side of the document, and the mouse cursor changes to a solid arrow + a small box in the lower right corner. Right-click in an empty space of the document and select Insert Image. A dialog box will pop up, then select the ElenaGilbert.JPEG image file in the dialog box (please confirm

Do you know how to split cells in Microsoft Excel? Below, the editor will bring you the method of splitting cells in Microsoft Excel. I hope it will be helpful to you. Let’s learn with the editor! 1. First open the merged cells Excel table, as shown below. 2. Select the merged cells and click the "Merge Center" button with the downward arrow at the top, as shown in the figure below. 3. Then select "Unmerge Cells", as shown in the figure below. 4. Now you can find that the cells have been split, as shown in the figure below. The above is the entire content of how to split cells in Microsoft Excel brought to you by the editor. I hope it can be helpful to you.

The display error is a problem that may occur in the Xiangxiang Fuzhai app. Some users are not sure why the Xiangxiang Fuzhai app displays errors. It may be due to network connection problems, too many background programs, incorrect registration information, etc. Next, This is the editor’s introduction to how to solve app display errors for users. Interested users should come and take a look! Why does the Xiangxiang Fuzhai app display an error answer: network connection problem, too many background programs, incorrect registration information, etc. Details: 1. [Network problem] Solution: Check the device connection network status, reconnect or choose another network connection to use. Can. 2. [Too many background programs] Solution: Close other running programs and release the system, which can speed up the running of the software. 3. [Incorrect registration information

LinuxOops: Detailed explanation of the meaning of this error, need specific code examples What is LinuxOops? In Linux systems, "Oops" refers to a situation where a serious error in the kernel causes the system to crash. Oops is actually a kernel crash mechanism that stops the system when a fatal error occurs and prints out relevant error information so that developers can diagnose and fix the problem. Oops usually occur in kernel space and have nothing to do with user space applications. When the kernel encounters

Title: Analysis of Oracle Error 3114: Causes and Solutions When using Oracle database, you often encounter various error codes, among which error 3114 is a relatively common one. This error generally involves database link problems, which may cause exceptions when accessing the database. This article will interpret Oracle error 3114, discuss its causes, and give specific methods to solve the error and related code examples. 1. Definition of error 3114 Oracle error 3114 pass
