All pastes #558692 Raw Edit

chris

public php v1 · immutable
·published 2007-06-11 13:52 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <keywords text=""/> <owner name="admin" profile="wDefaultProfileOfUser"/> <group name="" profile="wDefaultProfileOfUser"/> <others profile="Ansichtsbenutzer"/> <version number="4"/> <modification name="admin" time="1181567581"/> <creation name="admin" time="1181566491"/> <protocol action="modify" name="admin" time="1181567581" version="4"/></documentXt>--><html><?php$_SERVER['DOCUMENT_ROOT'] = STR_REPLACE("\\","/",$_SERVER['DOCUMENT_ROOT']);?><!----><head>  <title>Weblication® CMS - Content Management, eGovernment by Scholl Communications</title>  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">    <meta http-equiv="Content-Language" content="de">   <meta name="Keywords" content="">  <meta name="Description" content="">  <meta name="author" content="author">  <meta name="Generator" content="Weblication® CMS">   <script language="JavaScript" type="text/javascript" src="/wDeutsch/wLayout/structure/wScript.js"></script> 	    <!-- HEAD:START -->  <?PHP include_once($_SERVER["DOCUMENT_ROOT"]."/wDeutsch/wLayout/structure/head.php");?>  <!-- HEAD:STOP -->  <link rel="stylesheet" type="text/css" href="/wDeutsch/wLayout/design/style/design.css"></head><body><!-- HEADER:START --><?PHP include_once($_SERVER["DOCUMENT_ROOT"]."/wDeutsch/wLayout/structure/header.php");?><!-- HEADER:STOP --><!-- CONTENT:START --><div class="blockContent"><!-- web:group:start name="Hauptgruppe" id="maingroup"  --><!-- web:item:start name="Ueberschrift_2"  --><div class="elementHeadline"><h2><!-- web:text:start editor="box" rows="1" -->Shoutbox<!-- web:text:stop --></h2></div><!-- web:item:stop --><!-- web:item:start name="Shoutbox"  --><form action="index2.php" method="POST">Name:<br><input type="Text" name="name"><br>E-Mail:<br><input type="Text" name="email"><br><br><textarea name="Eintrag" cols="32" rows="5"></textarea><br><input type="Submit" value="Absenden"></form><?php$timestamp = time();$date = date('d.m.y - H:i', $timestamp);$eintrag = $_POST["Eintrag"];$name = $_POST["name"];$email = $_POST["email"];if($email!=""){$write = $eintrag."|".$name."|".$email."|".$date;$datei = fopen("save.php", "a+");fwrite($datei, $write);fclose ($datei);$datei = file("save.php");foreach($datei AS $ausgabe){$explode = explode("|",$ausgabe);$ausgabe[0] = Stripslashes($explode[0]);$ausgabe[1] = Stripslashes($explode[1]);$ausgabe[2] = Stripslashes($explode[2]);$ausgabe[3] = explode[3];echo "<br>";echo "<a href=mailto:".$ausgabe[0].">".$ausgabe[0]."</a> schrieb am ".$ausgabe[3].":";echo  "<br>";echo "<br>";echo "$ausgabe[2]";echo "<br>";}fclose($datei);?><!-- web:item:stop id="maingroup" --></div><!-- CONTENT:STOP --><!-- FOOTER:START --><?PHP include_once($_SERVER["DOCUMENT_ROOT"]."/wDeutsch/wLayout/structure/footer.php");?><!-- FOOTER:STOP --></body></html>