Gegen Bilderklau - Das Original

Registrierung Mitgliederliste Teammitglieder Suche Häufig gestellte Fragen Statistik Chat Karte Zur Startseite

Gegen Bilderklau - Das Original » Design, Website, Copyright » Homepagehilfe » Homepagehilfe - Archiv » [PHP & MySQL] PHP-Gästebuch Problem » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag Druckvorschau | Thema zu Favoriten hinzufügen
Zum Ende der Seite springen PHP-Gästebuch Problem
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
Startpost-Retter
Mitglied


Dabei seit: 24.01.2011
Beiträge: 12.246
Herkunft: Gegen Bilderklau, intern

PHP-Gästebuch Problem Auf diesen Beitrag antworten Zitatantwort auf diesen Beitrag erstellen Diesen Beitrag editieren/löschen Diesen Beitrag einem Moderator melden       Zum Anfang der Seite springen

http://thousandmiles.th.ohost.de/Neu/book.htm

Macht ma nen Eintrag...warum is das dann so unincludet?

book.htm:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
<html>
<head>
<meta name="Author" content="">
<meta name="Generator" content="Paint Shop Pro 9">
<title>Vanilla Sky___{can we get together?} Thousand Miles Version 2.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        background-color: #eeedd9;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>

<!-- Begin Table -->
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td rowspan="4" colspan="5" width="503" height="211">        <img name="Image30" src="Image3_1x1.jpg" width="503" height="211" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="279" height="24">
        <img name="Image31" src="Image3_1x2.gif" width="279" height="24" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="18" height="24">
        <img name="Image32" src="Image3_1x3.gif" width="18" height="24" border="0" alt="" /></td>
</tr>

<tr>
<td width="279" height="37" colspan="1" rowspan="1" background="Image3_2x1.gif"><center><a target="_blank" href="http://thousandmiles.th.ohost.de/Neu/tuts/"><img border-bottom="0px" src="Buttons/button.png"></a></center></td>
<td rowspan="1" colspan="1" width="18" height="37">
        <img name="Image34" src="Image3_2x2.gif" width="18" height="37" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="1" colspan="1" width="279" height="53">
        <img name="Image35" src="Image3_3x1.gif" width="279" height="53" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="18" height="53">
        <img name="Image36" src="Image3_3x2.gif" width="18" height="53" border="0" alt="" /></td>
</tr>

<tr>
<td width="279" height="97" colspan="1" rowspan="1" align="center" valign="top" background="Image3_4x1.gif">
<center><div id="navcontainer">
<ul id="navlist">
<li id="active"><a target="_blank" href="http://shizoo.de" id="current">Shizoo </a></li>
<li><a target="_blank" href="http://www.graphiclove.de.ki/">Graphiclove </a></li>
<li><a target="_blank" href="http://bitteresymphonie.bi.funpic.de">Bittersüße Symphonie </a></li>
<li><a target="_blank" href="http://www.sommertanz.de.vu">Sommertanz </a></li>
</ul></div></center></td><td rowspan="1" colspan="1" width="18" height="97">
        <img name="Image38" src="Image3_4x2.gif" width="18" height="97" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="1" colspan="1" width="37" height="80">
        <img name="Image39" src="Image3_5x1.gif" width="37" height="80" border="0" alt="" /></td>

<td width="174" height="80" colspan="1" rowspan="1" background="Image3_5x2.gif"><strong>      </strong></td>

<td rowspan="1" colspan="1" width="26" height="80">
        <img name="Image311" src="Image3_5x3.gif" width="26" height="80" border="0" alt="" /></td>
<td width="545" height="80" colspan="3" rowspan="1" style="background-image:url(Image3_5x4.gif); background-repeat:no-repeat; " bgcolor="#f3f1e4">        <div align="right">
  <p>Herzlich Willkommen auf Thousand Miles!</p>
  <p>Eine süße kleine Grafikseite von Jana & Nina...viel Spaß</p>
</div></td>
<td rowspan="1" colspan="1" width="18" height="80">
        <img name="Image313" src="Image3_5x5.gif" width="18" height="80" border="0" alt="" /></td>
</tr>

<tr>
<td width="37" height="154" colspan="1" rowspan="1" background="Image3_6x1.gif">&nbsp;        </td>
<td width="174" height="154" colspan="1" rowspan="1" valign="top" background="Image3_6x2.gif"><table width="90%"  border="0" cellspacing="0" cellpadding="0">
  <tr>



    <td> <span class="header">Important</span><br>
<a href="index.php">News</a><br>
<a href="about.htm">About</a><br>
<a href="impressum.htm">Impressum</a><br>
<a href="contact.htm">Contact</a><br>
<a href="credits.htm">Credits</a><br>
<a href="rules.htm">Rules</a><br><br>

<span class="header">The Ladys</span><br>
<a href="jana.htm">Jana</a><br>
<a href="nina.htm">Nina</a><br><br>

<span class="header">Layouts</span><br><p>
<a href="div.htm">Divider</a><br>
<a href="iframe.htm">IFrames</a><br>
<a href="popup.htm">PopUps</a><br><br>

<span class="header">Sources</span><br>
<a href="texturen.htm">Textures</a><br>
<a href="brushes.htm">Brushes</a><br>
<a href="png.htm">PNGs</a><br>
<a href="scans.htm">Scans</a><br><br>

<span class="header">Icons</span><br>
<a href="bases.htm">Bases</a><br>
<a href="people.htm">People</a><br>
<a href="other.htm">Other</a><br><br>


<span class="header">Exit</span><br>
<a href="in.htm">Links in</a><br>
<a href="out.htm">Links out</a><br>
<a href="become.htm">Become?</a><br>
<a href="book.htm">Book</a><br><br>





</td>
  </tr>
</table>
  <p>&nbsp;</p>
  <table width="90%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><span class="header">Statistics</span>

<!-- X-STAT START : CODE NICHT VERÄNDERN -->
<script language="JavaScript" type="text/javascript" src="http://www.x-stat.de/stat.php?id=tmiles"></script> <a href="http://x-stat.de/" target="_blank"><font size="1">XStat.de</font></a>
<!-- X-STAT ENDE : CODE NICHT ÄNDERN -->
 </td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <table width="90%"  border="0" cellspacing="0" cellpadding="0">
    <tr>

    </tr>
  </table>  <p>&nbsp;</p></td>
<td width="26" height="154" colspan="1" rowspan="1" background="Image3_6x3.gif">&nbsp;        </td>
<td width="545" height="154" colspan="3" rowspan="1" valign="top" bgcolor="#f3f1e4"><p class="header">Gästebuch</p>
<?
include ("gaestebuch.php");
?>






</td>
<td width="18" height="154" colspan="1" rowspan="1" background="Image3_6x5.gif">&nbsp;        </td>
</tr>

<tr>
<td rowspan="2" colspan="1" width="37" height="69">
        <img name="Image319" src="Image3_7x1.gif" width="37" height="69" border="0" alt="" /></td>
<td width="174" height="69" colspan="1" rowspan="2" background="Image3_7x2.gif"> </td>
<td rowspan="1" colspan="1" width="26" height="19">
        <img name="Image321" src="Image3_7x3.gif" width="26" height="19" border="0" alt="" /></td>
<td rowspan="1" colspan="3" width="545" height="19">
        <img name="Image322" src="Image3_7x4.gif" width="545" height="19" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="18" height="19">
        <img name="Image323" src="Image3_7x5.gif" width="18" height="19" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="1" colspan="1" width="26" height="50">
        <img name="Image324" src="Image3_8x1.gif" width="26" height="50" border="0" alt="" /></td>
<td width="545" height="50" colspan="3" rowspan="1"></td>
<td rowspan="1" colspan="1" width="18" height="50">
        <img name="Image326" src="Image3_8x3.gif" width="18" height="50" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="1" colspan="1" width="37" height="52">
        <img name="Image327" src="Image3_9x1.gif" width="37" height="52" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="174" height="52">
        <img name="Image328" src="Image3_9x2.gif" width="174" height="52" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="26" height="52">
        <img name="Image329" src="Image3_9x3.gif" width="26" height="52" border="0" alt="" /></td>
<td rowspan="1" colspan="1" width="264" height="52">
        <img name="Image330" src="Image3_9x4.gif" width="264" height="52" border="0" alt="" /></td>
<td rowspan="1" colspan="2" width="281" height="52">
   </td>
<td rowspan="1" colspan="1" width="18" height="52">
        <img name="Image332" src="Image3_9x6.gif" width="18" height="52" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="1" colspan="4" width="501" height="34">
        <img name="Image333" src="Image3_10x1.gif" width="501" height="34" border="0" alt="" /></td>
<td rowspan="1" colspan="3" width="299" height="34">
        <img name="Image334" src="Image3_10x2.gif" width="299" height="34" border="0" alt="" /></td>
</tr>

<tr>
<td width="37" height="1">
        <img name="blank" SRC="blank.gif" width="37" height="1" border="0"></td>
<td width="174" height="1">
        <img name="blank" SRC="blank.gif" width="174" height="1" border="0"></td>
<td width="26" height="1">
        <img name="blank" SRC="blank.gif" width="26" height="1" border="0"></td>
<td width="264" height="1">
        <img name="blank" SRC="blank.gif" width="264" height="1" border="0"></td>
<td width="2" height="1">
        <img name="blank" SRC="blank.gif" width="2" height="1" border="0"></td>
<td width="279" height="1">
        <img name="blank" SRC="blank.gif" width="279" height="1" border="0"></td>
<td width="18" height="1">
        <img name="blank" src="blank.gif" width="18" height="1" border="0"></td>
</tr>
</table>
<!-- End Table -->

</body>
</html>


gaestebuch.php
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
<link href="style.css" rel="stylesheet" type="text/css">

<b>Ins Gästebuch eintragen:</b><br>
<form action="gaestebuch.php" method="post" name="eingabe">
Name:<br>
<input type="text" name="name" size="47"><br>
Email:<br>
<input type="text" name="email" size="47"><br>
Internetseite:<br>
<input type="text" name="url" value="http://" size="47"><br>
Eintrag:<br>
<textarea name="eintrag" rows="10" cols="40"></textarea><br>
<br>
<input type="submit" value="eintragen" name="absenden"> <input type="reset" value="zurücksetzen">
</form>

<?php
if (isset($absenden)){ 

$datei = fopen("eintraege.txt","a");
 $eintrag = ereg_replace("\n","<br>",$eintrag); 
 $eintrag = stripslashes($eintrag); 
 $daten = "<hr><b>Name:</b> $name<br>
<b>Email:</b> <a href=mailto:$email>$email</a><br>
<b>Internetseite:</b> <a href=$url>$url</a><br>
<b>Eintrag:</b><br>
$eintrag<br>\n\n"; 

fwrite($datei,$daten);
fclose($datei);
} 
if (file_exists("eintraege.txt")){ 
 $datei = fopen("eintraege.txt","r");
$daten = fread($datei,filesize("eintraege.txt"));
 print $daten;
} else {
print "<b>Es sind keine Einträge vorhanden!</b>";
}
?> 


& wie man mehrere Seiten erstellt wüsst ich auch gern großes Grinsen

__________________
Dieser Beitrag gehörte zu einer Löschaktion von Beiträgen eines Users, er wurde diesem User überschrieben, damit der Thread nicht an Sinn verliert.

Dieser Beitrag wurde 2 mal editiert, zum letzten Mal von i survived gb-apocalypse: 07.06.2007 23:07.

07.06.2007 21:06 Startpost-Retter ist offline Beiträge von Startpost-Retter suchen Nehmen Sie Startpost-Retter in Ihre Freundesliste auf
Baumstruktur | Brettstruktur
Gehe zu:
Gegen Bilderklau - Das Original » Design, Website, Copyright » Homepagehilfe » Homepagehilfe - Archiv » [PHP & MySQL] PHP-Gästebuch Problem

Impressum

Forensoftware: Burning Board, entwickelt von WoltLab GmbH