NameSilo

Domain For Sale Script

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
thanks for the nice script
 
0
Close
How do I edit and post thsi text on some of my domains listed on domainsite?
 
0
Close
Thanks for this, might come in handy :)
 
0
Close
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
Close
thanks friend for sharing the script with me.
 
0
Close
thanks. rep added
 
0
Close
Nice one, thanks
 
0
Close
Thanks i might need this :) rep added
 
0
Close
Thanks, I think I can find a use for this! rep added.
 
0
Close
Thanks for the rep :) If you guys want any adjustements or whatever, just ask! ;)

-RageD
 
1
Close
Added rep!
 
0
Close
awesome script i love it rep added
 
0
Close
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
Close
Thanks :)
 
0
Close
Thanks
 
0
Close
Thank and I was looking for a script like this. Much appreciated. And great work you did there.
 
0
Close
Thanks for sharing, will use it soon!

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

-RageD
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back