Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

Quote Changer

Code Wizard, 12-30-2006



<HTML>
<HEAD>
<TITLE> Quote Changer 1.0 </TITLE>
<style type="text/css">
.loc {font-size: 9pt; font-family: verdana; color: #ffffff;}
a {font-family: arial; color: red;}
a:hover {font-family: arial; color: #ffffff;}
.txt {font-size: 9pt; font-family: arial; color: #ffffff;}
.lat {font-size: 9pt; font-family: arial; color: #ffffff;}
td {font-size: 9pt; font-family: arial; color: #ffffff;}
INPUT.button { BACKGROUND-COLOR: #000000; BORDER-BOTTOM: #FF0000 0px solid; BORDER-LEFT: #FF0000 0px solid; BORDER-RIGHT: #FF0000 0px solid; BORDER-TOP: #FF0000 0px solid; font-size: 9pt; font-family: arial; color: #ffffff; font-weight: bold}
</style>
</HEAD>
<body bgcolor="#000000" text="#FFFFFF" style="font-family: Verdana; font-size: 8pt">
<?php
/*
Quote Changer Copyright 2000 Brian Ross
Version 1.0
brian@music4free.com
AIM: DeadBrain3
ICQ: 15273600
http://brian.zero-gravity.org/php/

How to install:
1. Edit the variables below to fit your needs.
2. Create the datafile that you showed in $path and chomd to it 777.
3. Use either a PHP or SSI include to insert the quote onto the page you want.
Example: include("d:homehttpdhtml
ewsdata21.viewh"); (you must put in on in PHP brackets)
*/

$prefix = "<center>"; //what you want to appear before the quote line
$suffix = "</center>"; //what you want to appear after the quote line
$password = "change"; //the password you need to change the quote
$path = "c:BrianBrain's Padphp-binquote.dat"; //path to datafile

if ($pass != $password) {
echo "<html><head><title>DLCount Admin - Enter Password</title></head><body>";
echo "<form method="post" action=$PHP_SELF>";
echo "Enter your password:<br>";
echo "<input type="password" name="pass">";
echo "<input type="submit" value="continue">";
echo "</form></body></html>";
}

else {
if ($quote . $person != "") {
$ff = fopen($path, "w");
fputs($ff,$prefix . stripslashes($quote) . "<br><b>-" . stripslashes($person) . "</b>" . $suffix . "
");
fclose($ff);
print "The Quote Was Successfully Changed To:<br>
"; //html
print "<small><b>Quote: </b>" . stripslashes($quote) . "<br><b>Author: </b>" . stripslashes($person) . "
"; //html
print "<center><hr width=300 size=1 height=1 noshade color="#000000"><br>
"; //html
print "<font face="Arial" size="1" color="#000000">Powered By <a href="http://brian.zero-gravity.org/php/">Quote Changer 1.0</a></font><br>
"; //html
}

else {
print "<center>
"; //html
print "<p><form method="POST" action=""><center><table border=0><tr><td>Quote: </td><td><center><input type="text" name="quote" size="30"><br><font size="1">"To be or not to be, that is the question."</center></font></td></tr><tr><td>Author: </td><td><center><input type="text" name="person" size="30"><br><font size="1">William Shakespeare</font></center></td></tr></table><center><input type="hidden" name="pass" size="30" value="" . $password . ""><input type="submit" value="-Change-" class="button"> <input type="reset" value="-Reset-" class="button"></center></form>
"; //html
print "</center>
"; //html
print "<center><hr width=300 size=1 height=1 noshade color="#000000"><br>
"; //html
print "<font face="Arial" size="1" color="#000000">Powered By <a href="http://brian.zero-gravity.org/php/">Quote Changer 1.0</a></font><br>
"; //html
}
}
?>
</body></html>
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions