how about HTTP_REFERER?Originally Posted by Darren06
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!How would I make the url of a domain appear in a page if it was redirected? What variable or HTTP_POST method would I use?
how about HTTP_REFERER?Originally Posted by Darren06
Is your page php?
do you know how to AddHandler server-parsed .htm .html if it is not?
If so , I can show you how.
http://forum.free-templates.com/showthread.php?p=178
Yea I know that that is how I SEO my other site. AbouT HTTP_REFERER I am unsure if it works.
yeah, it depends on how you set up the names, if they resolve directly to the web servers ip, or you are using frames or redirects
if you can use php you can post the domain.
so if your frame points to http://example.com/?r=example.net.
and you have the following in example.com/index.php ...
... it will display the previous site.Originally Posted by example script
This worked with namecheap when i was going to create and ultsearch clone.
If you are making an ultsearch clone and you have your own nameservers, you could use HTTP_HOST, yes.
Im gonna use the get method instead.
Want to know where you are getting all these members and form submissions from? Add in the info you are emailed, some environmental vars like this:
If your site is php, skip this setp;
If your page is html or htm, add
AddHandler server-parsed .htm .html
to your .htaccess file.
in WS_FTP type -a in the little box on the right and hit enter to see hidden files that begin with .
If your page is php,
or, if you are now parsing htm as php, read on:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$fullhost = gethostbyaddr($ip);
$referer = $HTTP_REFERER;
?>
<form name="user_data_display_privacy_policy" action="/cgi-bin/perlscript.pl" method="POST" language="JavaScript">
<input type="hidden" name="ip" value="<?php echo $ip; ?>">
<input type="hidden" name="fullhost" value="<?php echo $fullhost; ?>">
<input type="hidden" name="referer" value="<?php echo $referer; ?>">
<input type="hidden" name="recipient" value="junk@junk.com">
<input type="hidden" name="redirect" value="http://www.yourdomainormine.com/thank_you.php">
<input type="hidden" name="subject" value="Courtesy, Free-Templates.com">
<input type="hidden" name="print_blank_fields" value="1">
<input type="hidden" name="sort" value="order:ip,fullhost,referer,submit">
<input name="submit" type="submit" style="color: #1C5185; border: 1px solid #c0e9ab" value="Click Here To Submit Request">
</form>
Bookmarks