Empire of Sports Europe
▓░░▓░░░▓░░▓▓▓░▓░░░▓▓▓░▓▓▓▓▓░░▓▓░░░▓▓░░▓▓▓░░░░░░
▓░▓░▓░░▓░░▓░░░▓░░░▓░░░▓░░░▓░░▓░▓░▓░▓░░▓░░░░░░░░
▓▓░░░▓░▓░░▓▓░░▓░░░▓░░░▓░░░▓░░▓░░▓░░▓░░▓▓▓░░░░░░
▓░░░░░▓▓░░▓░░░▓░░░▓░░░▓░░░▓░░▓░░░░░▓░░▓░░░░░░░░
▓░░░░░░▓░░▓▓▓░▓▓▓░▓▓▓░▓▓▓▓▓░░▓░░░░░▓░░▓▓▓░░░░░░
Hello and welcome to EOS-EU - First English Speaking Fansite of Empire of Sports!
Register to obtain full access to the website.
We hope you will enjoy the portal.

EOS-EU Team


Welcome to the first English Speaking Community FanSite of Empire of Sports :)
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsHOMEPORTALFORUMLog inRegister

Share | 

1pɔɹɐsɥǝɹ


 

 Guest book

View previous topic View next topic Go down 
AuthorMessage
Jo_Oker
Administrator
Administrator
avatar


PostSubject: Guest book   Fri Jan 25, 2013 8:44 pm

File name:
messenger.php



Code:
<?php
        if($_POST){

            $fp = fopen('inrg.txt', 'a');
            fwrite($fp, $_POST['txt']."\n");
            fclose($fp);
            $message_message_to_user = "Message added to file. Wait a sec and you will be redirected.";
        }

            header("Location: msg.php");
            exit();
?>




File name:
msg.php


Code:
<html>
<head>
<style>
body{background-color:black}
textarea{width:600px;height:20px;background-color:black;color:green}
input{background-color:black;color:green}
*{color:green}
</style>
</head>
<body>
<center>
<form method="post" action="messenger.php">
    <textarea name = "txt" cols = "25" rows = "5">- </textarea><br><br>
    <input type = "submit" value="Submit">
    <br>
</form></center>
</body>
</html>


File name:
inrg.txt






Code:
Upload all in one place.
msg.php is script where ppl can comment.
You can use iframe to add it in page like:
<iframe src="####link of msg.php###" width="620" height="50"><iframe>

or you can just add navigation to the page:
<a href="###adres of msg.php###">Write comment here</a>
Back to top Go down
View user profile
Jo_Oker
Administrator
Administrator
avatar


PostSubject: Re: Guest book   Fri Jan 25, 2013 8:58 pm

[You must be registered and logged in to see this image.]
Back to top Go down
View user profile
 

Guest book

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Trollblood Book
» Warhammer Fantasy Rule Book Available Newport Games
» Sunday April 19th Comic Book World!
» Lizardmen book!
» Everytime you watch jersey shore a book commits suicide....

Permissions in this forum:You cannot reply to topics in this forum
Empire of Sports Europe :: PHP-