I have a HTML with a ref. like <a href="index.php"><img src="/Buttons/Home.png" width="100" height="40" title="Home"</a>
Everything here is on localhost, but the same error happens on the server, I get: http://localhost/messageboard.php/index.php
I have done this hundred times before, but years ago, start over. And it changed…
Any ideas?
Thanks in advance.
Dag JNJ
No(of course) I have no directory named messageboard.php.
But following: I redirected to the page messageboard.php in a PHP called sendlogin.phph with header. Like this:
$urll=substr($_SERVER["REMOTE_ADDR"],0,3);
$url="https://bahia-dorada.es/messageboard";
if ($urll=="127"){
$url="localhost/messageboard.php";
}
header("Location: http://$url/messageboard.php");
It seems to have something to do with that, beacae on the previous page:
which (of course because of the output “Fehler” leads to
Fehler
Warning: Cannot modify header information - headers already sent by (output started at /home/www/webp/loginsend.php:9) in /home/www/webp/loginsend.php on line 26
The problem is, the uname and pwd is not chatched by the session, and I can*t see why