Hi all. I'm relatively new to administering Apache, and I've come up against a problem which is very strange.
I'm running Apache 2.0 on a Dell Precision 340 with RedHat 9.0.
I'm developing a CMS, and for some reason post data is at times getting mangled during the post process.
The example below extracts the problem from the CMS and replicates it perfectly, telling me that the problem is not related to any code in my CMS, but rather is something in how I've got Apache configured.
In addition, the result is slightly different depending on the browser used.
I have a simple form like this:
and in bar.php I have:
An example of the code being input to the form can be had here:
and an example of the mangled output can be seen here:
As you can see the code is ruined towards the end, with part of the original code being appended to the end of itself. The amount of code appended to the end depends on which browser you try it in (I've tried IE 6.0, Mozilla 1.2.1 and Konqueror).
Does anyone have any idea what could be causing this? I'm thinking it has to be something with Apache since I've removed the code from my CMS and the problem remains, and it appears in multiple browsers. Also, since on the receiving page I'm doing nothing but printing the post data to the screen, this makes no sense at all.
Can anyone give me any advice here? I'm completely stuck on this one.
Cheers and thanks much in advance,
Pablo
I'm running Apache 2.0 on a Dell Precision 340 with RedHat 9.0.
I'm developing a CMS, and for some reason post data is at times getting mangled during the post process.
The example below extracts the problem from the CMS and replicates it perfectly, telling me that the problem is not related to any code in my CMS, but rather is something in how I've got Apache configured.
In addition, the result is slightly different depending on the browser used.
I have a simple form like this:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>UNBC Content Management System</title>
</head>
<body>
<form action="foo.php" method="post">
<textarea name="description" class="textinput" style="width:740px" rows="40" wrap="off">
</textarea>
<input type="submit">
</form>
</body>
</html>
and in bar.php I have:
Code:
<?php
print_r($_POST);
?>
An example of the code being input to the form can be had here:
and an example of the mangled output can be seen here:
As you can see the code is ruined towards the end, with part of the original code being appended to the end of itself. The amount of code appended to the end depends on which browser you try it in (I've tried IE 6.0, Mozilla 1.2.1 and Konqueror).
Does anyone have any idea what could be causing this? I'm thinking it has to be something with Apache since I've removed the code from my CMS and the problem remains, and it appears in multiple browsers. Also, since on the receiving page I'm doing nothing but printing the post data to the screen, this makes no sense at all.
Can anyone give me any advice here? I'm completely stuck on this one.
Cheers and thanks much in advance,
Pablo