lumberjakel
Programmer
Hi I've got the following script:
this is the whole script but when It runs I get a Internal Server Error. Obviously because PHP.exe screws up somehow.
I figured out that the newline in $a is the problem. when I remove it it all works
Is this a common problem or is it my php version that is causing the trouble???
I just can't see why a newline inside a string needs to cause trouble...
Lumberjakel
Sometimes it's just better to accelerate your computer with 9.8 meters per square second!
Code:
if (!isset($a))
{
$a="hello\nworld";
header ("Location: temp.php?a=$a");
}
else echo $a;
this is the whole script but when It runs I get a Internal Server Error. Obviously because PHP.exe screws up somehow.
I figured out that the newline in $a is the problem. when I remove it it all works
Is this a common problem or is it my php version that is causing the trouble???
I just can't see why a newline inside a string needs to cause trouble...
Lumberjakel
Sometimes it's just better to accelerate your computer with 9.8 meters per square second!