Black Hat Forum
Go Back   Black Hat Forum > Black Hat SEO Forum > Black Hat SEO

Black Hat SEO Black Hat Search Engine Optimization. Discuss ways to improve your sites ways using Black Hat SEO tactics!

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-20-2008, 06:54 PM
neilparnham's Avatar
Junior Member
 
Join Date: Mar 2008
Location: UK
Posts: 150
Thanks: 33
Thanked 6 Times in 6 Posts
Activity: 37%
Longevity: 20%
Today: 0/5
Send a message via MSN to neilparnham
Smile cookie stuck

hi, just after a little bit of help, im not a programmer, yet , just wondering if someone knew in regards to the folllowing:

Code:
<?
$random_number = rand(1,4);
if($random_number == 1){
echo "Our cookie stuffing code goes here!";     
}
?>
i want to combine that with

Code:
RewriteEngine On
RewriteRule tracking_pixel.jpg http://www.affiliate.com/BDHDHDHDJ/ [R,L]
so that i can have my affiliate coding and makes it so i dont get high ctr, i tried putting the second lot of coding where it says our cookie stuffing goes here but it dont work, well im not a programmer so i wont know, thanks for any help, cheers neil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-20-2008, 07:08 PM
catman08's Avatar
Jr. VIP
 
Join Date: Jan 2008
Location: Europe
Posts: 321
Thanks: 32
Thanked 83 Times in 29 Posts
Activity: 41%
Longevity: 25%
Today: 0/5
Send a message via MSN to catman08 Send a message via Skype™ to catman08
Default Re: cookie stuck

the first ones says ... choose a random number between 1 and 4
If 1 run the cookiestuffer code

The second code goes into your htaccess file ... means when including the img src="tracking_pixel.jpg" .. then load the aff side in the background instead of loading the image.

the text you need to put into part one is
Code:
<img src="tracking_pixel.jpg" border="0" width="0px" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to catman08 For This Useful Post:
neilparnham (07-20-2008)
  #3 (permalink)  
Old 07-20-2008, 07:09 PM
catman08's Avatar
Jr. VIP
 
Join Date: Jan 2008
Location: Europe
Posts: 321
Thanks: 32
Thanked 83 Times in 29 Posts
Activity: 41%
Longevity: 25%
Today: 0/5
Send a message via MSN to catman08 Send a message via Skype™ to catman08
Default Re: cookie stuck

If you have further question let me know, i am glad to help ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-21-2008, 02:35 PM
catman08's Avatar
Jr. VIP
 
Join Date: Jan 2008
Location: Europe
Posts: 321
Thanks: 32
Thanked 83 Times in 29 Posts
Activity: 41%
Longevity: 25%
Today: 0/5
Send a message via MSN to catman08 Send a message via Skype™ to catman08
Default Re: cookie stuck

Neil, I just send you a PM :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-21-2008, 02:59 PM
catman08's Avatar
Jr. VIP
 
Join Date: Jan 2008
Location: Europe
Posts: 321
Thanks: 32
Thanked 83 Times in 29 Posts
Activity: 41%
Longevity: 25%
Today: 0/5
Send a message via MSN to catman08 Send a message via Skype™ to catman08
Default Re: cookie stuck

hmmm i just figured out that i can not edit my previous post ... well however for the others tha thave the same problem as Neil does, here is the Cookiestuffer code that works with the randomizer and htaccess file:

Basically it is just the php code like:
Code:
<?
$random_number = rand(1,4);
if($random_number == 1){
echo "<img src='tracking_pixel.jpg' border='0' width='0px' />";     
}
?>
in the hataccess you will have the following:
Code:
RewriteEngine On
RewriteRule tracking_pixel.jpg http://www.affiliate.com/BDHDHDHDJ/ [R,L]
However i would suggest that you insert the htaccess into a subflder called images. so the htaccess code is still the same but now the htaccess file is located into a subfolder called images. if you have done so change the first code to:

Code:
<?
$random_number = rand(1,4);
if($random_number == 1){
echo "<img src='img/tracking_pixel.jpg' border='0' width='0px' />";     
}
?>
where img is the subfolder your htaccess file is in.

P.S. The File that you put the php code on needs to be *php file ;-)
If you want this code to work with html also you additionally need to put the following code into your htaccess file:

Code:
AddHandler application/x-httpd-php .html .htm .php
or the following one in case your server uses php5 already

Code:
AddHandler application/x-httpd-php5 .html .htm .php
cheers
catman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to catman08 For This Useful Post:
neilparnham (07-22-2008)
Reply

Thread Tools
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
Forum Jump


Add Your Link



Site protected by Firewall Script


Sitemap: 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