es gibt zwar im Forum Beiträge zu solch einem Thema, doch die haben mir nicht geholfen.
ich bekomme folgende Warnings bei verarbeitung meins Quelltext.
Laut einem Posting soll man irgendwelche überflüssigen Leerzeichen löschen, doch es funktioniert nicht...weiß jemand was zu tun ist? vielen Dank
Warnungen
Code: Alles auswählen
Warning: Cannot modify header information - headers already sent by (output started at d:\entwicklung\web\test.php:20) in d:\entwicklung\web\phpBB2\includes\sessions.php on line 206
Warning: Cannot modify header information - headers already sent by (output started at d:\entwicklung\web\test.php:20) in d:\entwicklung\web\phpBB2\includes\sessions.php on line 207
Code: Alles auswählen
1. <html>
2. <head>
3. <title>"test"</title>
4. </head>
5. .
6. <body>
7. <div align="center">
8. <table width="90%" border="1" cellpadding="3" cellspacing="0">
9. <tr>
10. <!-- Logo und Werbebanner -->
11. <td valign="top" width="100%" height="80" colspan="3">Logo + Werbebanner
12.
13. </td>
14. </tr>
15.
16. <tr>
17. <!-- Menü 1 -->
18. <td width="100" valign="top" height="443" bgcolor="#CCCCCC">
19. <? include("menu.php"); //hier verbirgt sich nur mein Menü
20. ?>
21. </td>
22.
23. <!-- Inhalt -->
24. <td width="80%" valign="top" bgcolor="#F5F5F5">
25. <?
26. if (isset($_GET["seite"]))
27. {
28. if(strcmp($_GET["seite"],"forum")==0)
29.
30. include("forumIframe.php");
31.
32.
33. }
34. ?>
35. </td>
36.
37. <!-- Menü 2 -->
38. <td width="140" valign="top" bgcolor="#CCCCCC">
39. <?
40. include("on.php");
41.
42. ?>
43.
44. </td>
45. </tr>
46. </table>
47. </div>
48. </body>
49. </html>
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = 'phpBB2/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.' . $phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
if ($userdata['session_logged_in'])
{
echo 'Bereits eingeloggt';
}
else
{
echo '<form action="' . $phpbb_root_path .'login.php" method="post">';
echo 'Benutzername: <input type="text" name="username"><br>';
echo 'Passwort: <input type="password" name="password"><br>';
echo 'Autologin? <input type="checkbox" name="autologin"><br>';
echo '<input type="hidden" name="redirect" value="../test.php">';
echo '<input type="submit" name="login" value="Login"></form>';
}
?>