Ich hoffe hier kann mir jemand helfen.
Als erstes möchte ich die Ordnerstruktur meines Webspaces mal darstellen:
- Root
- Homepage 1
- index.html und eben alle Dateien nur für die Homepage
- Board - hier ist das Forum zu finden in der sich die portal.php befindet
- Homepage 2
- Die Dateien der zweiten Homepage
- Homepage 1
Nun möchte ich die portal.php in die index.html meiner Homepage includen.
Zuerst habe ich dies versucht:
Code: Alles auswählen
noch vor dem <html>-Tag: <?php ob_start(); ?>
.
.
.
.
<table width="800" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="3">
<img src="images/index_01.jpg" width="800" height="287" border="0">
</td>
</tr>
<tr>
<td>
<img src="images/index_02.jpg" width="145" height="25" border="0"></td>
<!-- start menue -->
<td id="menue" style="background-image:url(images/index_03.jpg);" width="504" height="25">
<a href="#">News</a> | <a href="#">Informationen</a> | <a href="#">Service</a> | <a href="#">Support</a> | <a href="#">Referenzen</a> | <a href="#">Links</a>
</td>
<!-- ende menue -->
<td>
<img src="images/index_04.jpg" width="151" height="25" border="0"></td>
</tr>
<!-- start inhalt -->
<tr>
<td colspan="3" style="background-image:url(images/index_05.jpg);" width="800">
<table align="center" width="500">
<tr>
<td align="left">
<?php include("board/portal.php"; ob_end_flush(); ?>
</td>
</tr>
</table>
</td>
</tr>
<!-- ende inhalt -->
<tr>
<td colspan="3">
<img src="images/index_06.jpg" width="800" height="52" border="0">
</td>
</tr>
</table>
.
.
.
.Die Stelle:
Code: Alles auswählen
<table align="center" width="500">
<tr>
<td align="left">
<?php include("board/portal.php"; ob_end_flush(); ?>
</td>
</tr>
</table>Welchen include-Befehl soll ich denn nun nutzen, es gibt tausende Ergebnisse bei der Googlesuche?
Danke schonmal
grüßchen
Concupiscence