IT.COM

Domain For Sale Script

Spaceship Spaceship
Watch
Here is just a quick "Site for Sale" script that I whipped up when selling my domains lol.. Nothing special, but it is easy and for a quick "For sale" page.. Just edit the "config.php" and your in business

-RageD

Here is the "index.php"
PHP:
<?php
/* Simple For Sale by RageD
© Copyright 2006 RageD */
require("config.php");
?>
<HTML>
<HEAD>
<TITLE><?php echo($title); ?></TITLE>
</HEAD>
<BODY BGCOLOR="<?php echo($bgcolor); ?>"><BODY TEXT="<?php echo($bodytext); ?>">
<?php
if($sold == "no"){
?>
Hello,<br><br>

<?php echo($domain); ?> is for sale!  You can check out more information about it <a href="<?php echo($infourl); ?>">here</a>!<br><br>
<?php
}
if($sold == "yes"){
?>
<center><b><h1>This domain (<i><?php echo($domain); ?></i>) has been sold!</h1></b><br><br>
<?php
}
?>

<?php
if($sig == "on"){
?>
-Thanks<br><br>-<?php echo($seller); ?>
<?php
}
if($visitorinfo == "on"){
?>
<br><br>
Your IP: <b><?php echo($_SERVER["REMOTE_ADDR"]); ?></b><br>
You're coming from: <a href="<?php echo($_SERVER["HTTP_REFERER"]); ?>"><?php echo($_SERVER["HTTP_REFERER"]); ?></a><br><br>
<i>This information is not logged or kept in anyway.  It is private to you!</i>
<?php
}
?>
<?php
if($copyright == "on"){
?>
<HR><center>© Copyright <?php echo($cyear); ?> <?php echo($company); ?>.  All Rights Reserved.
<?php
}
?>
</BODY>
</HTML>

And here is the config.php:

PHP:
<?php
/* Simple For Sale by RageD
 © Copyright 2006 RageD */
// Main page info
$title = "YourDomain.com is for sale";
$bgcolor = "white";
$bodytext = "black";
$domain = "YourDomain.com";
$infourl = "http://LinkToMoreInformation.com";
// Signature Information
$sig = "off"; // Set this to on if you want "-Thanks<br><br>-Your Name
$seller = "YourName";
// Give the visitor their information for them to see
$visitorinfo = "off"; // Set this to on if you want the users to see their IP and some other info
// Turn copyright on and put in your info!
$copyright = "on"; // Set to off if you don't want a copyright on your page!
$cyear = "2006";
$company = "YourDomain.com/Your Company";
// Domain Info
$sold = "no"; // When your domain has been sold, but transfer has not yet taken place set this to yes
?>
 
Last edited:
6
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
thanks for the nice script
 
0
•••
How do I edit and post thsi text on some of my domains listed on domainsite?
 
0
•••
Thanks for this, might come in handy :)
 
0
•••
achacko said:
How do I edit and post thsi text on some of my domains listed on domainsite?

What do you mean, what are you looking to do?

-RageD
 
0
•••
thanks friend for sharing the script with me.
 
0
•••
0
•••
0
•••
Thanks i might need this :) rep added
 
0
•••
Thanks, I think I can find a use for this! rep added.
 
0
•••
Thanks for the rep :) If you guys want any adjustements or whatever, just ask! ;)

-RageD
 
1
•••
0
•••
awesome script i love it rep added
 
0
•••
Again, thank you for rep :) And still, any adjustments needed, just ask! ;) And I'm adding a download for convenience to the script! :)

-RageD
 
0
•••
0
•••
0
•••
Thank and I was looking for a script like this. Much appreciated. And great work you did there.
 
0
•••
Thanks for sharing, will use it soon!

Rep added.
 
0
•••
0
•••
I could work on it :)

-RageD
 
0
•••
very usable..
thanks
 
Last edited:
0
•••
Thanks for the SCRIPT

might be handy in the future
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back