Black Hat Forum Black Hat SEO The only backlink provider with unlimited projects/links per day!
Go Back   Black Hat Forum Black Hat SEO > Black Hat SEO > Cloaking and Content Generators

Cloaking and Content Generators Discuss Cloaking, Doorway pages and Automatic content generators for search engine optimization

Mad Content   BLOG SEO
Search
 
LinkWheel

LiveChatAgent



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-2009, 04:35 PM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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...

Quote:
<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"

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

"GOTO2 PHP CODE"

Quote:
<?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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-20-2009, 04:43 PM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-20-2009, 04:56 PM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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 05:23 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-20-2009, 05:23 PM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
Default Re: Can these two scripts be combined?

Is it possible to combine these?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-21-2009, 02:39 AM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
Default Re: Can these two scripts be combined?

Still no replies?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-21-2009, 02:41 AM
tivowatcher's Avatar
Junior Member
 
Join Date: Oct 2008
Posts: 132
Thanks: 9
Thanked 49 Times in 23 Posts
Reputation: 11
iTrader: (0)
Default Re: Can these two scripts be combined?

Sorry - can't easily help.

Why not try it and see how far you get?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-21-2009, 02:46 AM
Junior Member
 
Join Date: Jul 2009
Location: Internet
Posts: 169
Thanks: 36
Thanked 115 Times in 19 Posts
Reputation: 16
iTrader: (0)
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.. ..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-21-2009, 02:56 AM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-21-2009, 03:11 AM
Junior Member
 
Join Date: Jul 2009
Location: Internet
Posts: 169
Thanks: 36
Thanked 115 Times in 19 Posts
Reputation: 16
iTrader: (0)
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??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-21-2009, 03:21 AM
BANNED
 
Join Date: Aug 2009
Location: Indianapolis,IN
Posts: 1,115
Thanks: 397
Thanked 677 Times in 267 Posts
Reputation: 78
iTrader: (19)
Send a message via MSN to CyrusVirus Send a message via Yahoo to CyrusVirus Send a message via Skype™ to CyrusVirus
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to CyrusVirus For This Useful Post:
goodlessons (10-21-2009)
  #11 (permalink)  
Old 10-21-2009, 03:28 AM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 10-21-2009, 03:32 AM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10-21-2009, 03:45 AM
BANNED
 
Join Date: Aug 2009
Location: Indianapolis,IN
Posts: 1,115
Thanks: 397
Thanked 677 Times in 267 Posts
Reputation: 78
iTrader: (19)
Send a message via MSN to CyrusVirus Send a message via Yahoo to CyrusVirus Send a message via Skype™ to CyrusVirus
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to CyrusVirus For This Useful Post:
goodlessons (10-21-2009)
  #14 (permalink)  
Old 10-21-2009, 05:57 AM
goodlessons's Avatar
Newbies
 
Join Date: Jun 2009
Location: Florida
Posts: 27
Thanks: 80
Thanked 6 Times in 2 Posts
Reputation: 11
iTrader: (0)
Send a message via AIM to goodlessons Send a message via Yahoo to goodlessons
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 10-21-2009, 05:04 PM
Junior Member
 
Join Date: Jul 2009
Location: Internet
Posts: 169
Thanks: 36
Thanked 115 Times in 19 Posts
Reputation: 16
iTrader: (0)
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.. ..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 10-23-2009, 05:06 AM
Newbie
 
Join Date: Oct 2009
Posts: 46
Thanks: 0
Thanked 4 Times in 4 Posts
Reputation: 10
iTrader: (0)
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
cloaking , cloaking affiliate links , hide affiliate link , html , php

Scribe. SEO Made Simple.

SE Nuke



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


SEO Paladin


Web Hosting
Copyright © 2005 - 2012 BlackHatWorld.com All rights reserved.