Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

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!

Results 1 to 8 of 8
  1. #1
    Platinum Lifetime Member
    Darren06's Avatar
    Join Date
    Sep 2003
    Location
    California, US
    Posts
    1,911
    Country

    United States
    DNF$
    3,410
    Bank
    0
    Total DNF$
    3,410
    Donate  

    Using HTTP_POST?

    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?

  2. #2
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    414
    Bank
    0
    Total DNF$
    414
    Donate  

    Re: Using HTTP_POST?

    Quote Originally Posted by Darren06
    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?

  3. #3
    Former DNF Admin
    MediaHound's Avatar
    Join Date
    Feb 2004
    Location
    Florida
    Posts
    4,896
    Blog Entries
    1
    DNF$
    15,979
    Bank
    0
    Total DNF$
    15,979
    Donate  

    Re: Using HTTP_POST?

    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

  4. #4
    Platinum Lifetime Member
    Darren06's Avatar
    Join Date
    Sep 2003
    Location
    California, US
    Posts
    1,911
    Country

    United States
    DNF$
    3,410
    Bank
    0
    Total DNF$
    3,410
    Donate  

    Re: Using HTTP_POST?

    Yea I know that that is how I SEO my other site. AbouT HTTP_REFERER I am unsure if it works.

  5. #5
    Exclusive Lifetime Member
    theparrot's Avatar
    Join Date
    Mar 2004
    Posts
    641
    DNF$
    36,543
    Bank
    0
    Total DNF$
    36,543
    Donate  

    Re: Using HTTP_POST?

    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

  6. #6
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    414
    Bank
    0
    Total DNF$
    414
    Donate  

    Re: Using HTTP_POST?

    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 ...
    Quote Originally Posted by example script
    <?php

    $url = $_REQUEST['r'];
    echo $url;

    ?>
    ... it will display the previous site.

    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.

  7. #7
    Platinum Lifetime Member
    Darren06's Avatar
    Join Date
    Sep 2003
    Location
    California, US
    Posts
    1,911
    Country

    United States
    DNF$
    3,410
    Bank
    0
    Total DNF$
    3,410
    Donate  

    Re: Using HTTP_POST?

    Im gonna use the get method instead.

  8. #8
    Former DNF Admin
    MediaHound's Avatar
    Join Date
    Feb 2004
    Location
    Florida
    Posts
    4,896
    Blog Entries
    1
    DNF$
    15,979
    Bank
    0
    Total DNF$
    15,979
    Donate  

    Re: Using HTTP_POST?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com