Y T Nuke  
Results 1 to 16 of 16
Hey fellow BHWer's! I'm not very html or php savvy yet, but I do have ...
  1. #1
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Exclamation Can these two scripts be combined?

    Hey fellow BHWer's!

    I'm not very html or php savvy yet, but I do have a little knowledge of the basics.

    My question is... Is it possible to combine the two scripts shown below so that the URL in the address bar stays the same but the affiliate link is cloaked?

    Can someone savvy fix the code for us BHWer's?

    HERE IS THE HTML CODE FOR KEEPING THE ADDRESS URL THE SAME...

    <html>
    <head>
    <script>window.status = ' ';</script>
    <meta http-equiv="Content-Language" content="en-us">
    <title>Welcome!</title><meta name="keywords" content="KEYWORDS GO HERE"/>
    <meta name="description" content="DECRIPTION GOES HERE"/>
    </head>

    <frameset border="0" frameborder="0" marginleft="0" margintop="0" marginright="0" marginbottom="0" rows="100%,*">
    <frame
    src="HTTP://WWW.YOUR-AFFILIATE-LINK-GOES-HERE.COM"
    scrolling="auto" frameborder="no" border="0" noresize>
    <frame topmargin="0" marginwidth="0" scrolling="no" marginheight="0" frameborder="no" border="0" noresize>
    <noframes>
    <body>

    </body>
    </noframes>
    </frameset>

    </html>

    HERE IS TWO PHP SCRIPTS USED TO CLOAK YOUR AFFLINK WITH DOUBLE META REFRESH...

    "GOTO PHP CODE"

    <?php
    echo "<meta http-equiv=\"refresh\" content=\"0;url=HTTP://WWW.YOUR-WEB-ADDRESS.COM/goto2.php\">";
    ?>

    "GOTO2 PHP CODE"

    <?php
    $referer = $_SERVER['HTTP_REFERER'];
    if($referer == "")
    {
    echo "<meta http-equiv=\"refresh\" content=\"0;url=HTTP://WWW.YOUR-AFFIATE-LINK-HERE.COM\">";
    }
    else
    {
    echo "<meta http-equiv=\"refresh\" content=\"0;url=HTTP://WWW.YOUR-WEB-ADDRESS-HERE.COM\">";
    }
    ?>
    If any of you could help with this or have suggestions by all means please speak up, and if this helped any of you please give rep and click THANKS!

  2. #2
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    By the way if any of you want to know how to use the "Double Meta Refresh", there is plenty of info online and on the forums. Tutorials Galore!

  3. #3
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    People are viewing this but no one is commenting or offering a solution.
    Last edited by goodlessons; 10-20-2009 at 04:23 PM.

  4. #4
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    Is it possible to combine these?

  5. #5
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    Still no replies?

  6. #6
    tivowatcher's Avatar
    tivowatcher is offline Junior Member
    Join Date
    Oct 2008
    Posts
    132
    Reputation
    11
    Thanks
    9
    Thanked 49 Times in 23 Posts

    Default Re: Can these two scripts be combined?

    Sorry - can't easily help.

    Why not try it and see how far you get?

  7. #7
    pavan_buzz is offline Junior Member
    Join Date
    Jul 2009
    Location
    Internet
    Posts
    169
    Reputation
    16
    Thanks
    36
    Thanked 115 Times in 19 Posts

    Default Re: Can these two scripts be combined?

    So what do u want the script to do?? Tell me that clearly.. Cause, the php script actually, checks whether the referrer is blank. If it is blank, then it sends the user to affiliate link, and if it is not, it sends to ur address.. But the html file displays the affiliate link.. So what do u want the combined script to do.. I am not an expert but i can help u with all the wisdom i have.. ..

  8. #8
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    Quote Originally Posted by pavan_buzz View Post
    So what do u want the script to do?? Tell me that clearly.. Cause, the php script actually, checks whether the referrer is blank. If it is blank, then it sends the user to affiliate link, and if it is not, it sends to ur address.. But the html file displays the affiliate link.. So what do u want the combined script to do.. I am not an expert but i can help u with all the wisdom i have.. ..
    I want the script to cloak my afflink and show my url in the address bar.

    If I use the php script it shows a different url than what the visitor clicked on.

    If I use the url script then my afflink is exposed in the source code, but the url in the address bar is my url.

    I want a script that does both.

    I hope that helps.

  9. #9
    pavan_buzz is offline Junior Member
    Join Date
    Jul 2009
    Location
    Internet
    Posts
    169
    Reputation
    16
    Thanks
    36
    Thanked 115 Times in 19 Posts

    Default Re: Can these two scripts be combined?

    So what does the php script do actually.. It changes the referrer to ur site and then, it sends to the affiliate link right.. Now whats the problem there mate??

  10. #10
    CyrusVirus is offline BANNED
    Join Date
    Aug 2009
    Location
    Indianapolis,IN
    Age
    24
    Posts
    1,111
    Reputation
    78
    Thanks
    397
    Thanked 678 Times in 267 Posts

    Default Re: Can these two scripts be combined?

    just throwing this out there. but you could do something along the lines of upload the scripts seperatly, lets say
    yoursite.com/script1.php
    yoursite.com/script2.php

    and when you want to use it you can have
    yoursite.com/SCRIPT.php
    do this number

    {include file='script1.php'}
    {include file='script2.php'}

    just an idea

  11. The Following User Says Thank You to CyrusVirus For This Useful Post:

    goodlessons (10-21-2009)

  12. #11
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    Quote Originally Posted by pavan_buzz View Post
    So what does the php script do actually.. It changes the referrer to ur site and then, it sends to the affiliate link right.. Now whats the problem there mate??
    The problem is that when someone clicks on my url link it changes the url in the address bar to a different url than my visitor clicked on.

    Example:
    The visitor clicks on www.My Url.com.
    but...
    when they are redirected to the product page it shows...
    http://www.My Promoted Product.com/affiliate numbers and letters

    So...

    In the address bar I want it to continue to say www. My Url.com
    but still be cloaked.

    The html script I originally posted will do this, but my afflink is still visible if you click View>Page Source.

  13. #12
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    Quote Originally Posted by CyrusVirus View Post
    just throwing this out there. but you could do something along the lines of upload the scripts seperatly, lets say
    yoursite.com/script1.php
    yoursite.com/script2.php

    and when you want to use it you can have
    yoursite.com/SCRIPT.php
    do this number

    {include file='script1.php'}
    {include file='script2.php'}

    just an idea
    Thanks for the reply, but as I mentioned before my php/html script knowledge is limited.

    Where would I cut and paste this in, or would you mind cutting and pasting it in and then reposting here?

    Thanks again!

  14. #13
    CyrusVirus is offline BANNED
    Join Date
    Aug 2009
    Location
    Indianapolis,IN
    Age
    24
    Posts
    1,111
    Reputation
    78
    Thanks
    397
    Thanked 678 Times in 267 Posts

    Default Re: Can these two scripts be combined?

    there is a thanks button for this buddy. i would appreciate it, pm sent
    Quote Originally Posted by goodlessons View Post
    Thanks for the reply, but as I mentioned before my php/html script knowledge is limited.

    Where would I cut and paste this in, or would you mind cutting and pasting it in and then reposting here?

    Thanks again!

  15. The Following User Says Thank You to CyrusVirus For This Useful Post:

    goodlessons (10-21-2009)

  16. #14
    goodlessons's Avatar
    goodlessons is offline Newbies
    Join Date
    Jun 2009
    Location
    Florida
    Posts
    29
    Reputation
    11
    Thanks
    85
    Thanked 6 Times in 2 Posts

    Default Re: Can these two scripts be combined?

    I just thought of an idea!

    Is it possible to put something in the script to make it impossible to view the source code?

  17. #15
    pavan_buzz is offline Junior Member
    Join Date
    Jul 2009
    Location
    Internet
    Posts
    169
    Reputation
    16
    Thanks
    36
    Thanked 115 Times in 19 Posts

    Default Re: Can these two scripts be combined?

    Nope that is not possible.. Well now all u can do is, rent a domain, and redirect it to ur sales page.. so u wont get ur aff link seen.. simple.. ..

  18. #16
    sirtaxster is offline Newbie
    Join Date
    Oct 2009
    Posts
    46
    Reputation
    10
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default Re: Can these two scripts be combined?

    Quote Originally Posted by pavan_buzz View Post
    Nope that is not possible.. Well now all u can do is, rent a domain, and redirect it to ur sales page.. so u wont get ur aff link seen.. simple.. ..

    Yep. This is pretty much the best way to cloak your affiliate link.

    Well the simplest that is.

    Cheers.

Dot Gov Backlinks Sale


Smarter Submit

Tags for this Thread

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
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75