Auto click banner using mod rewrite?

Using mod_rewrite to handle various content issues

Auto click banner using mod rewrite?

Postby huyhoa » Sun Dec 14, 2008 1:51 pm

My problem is:
My company ads on my friend site. My boss want to see about 5000 clicks to my company website from my friend site a month. But now, my friend site only refer about 2000 clicks to my company site. I think if visitors can click more, it's not problem, but as i know, not all people see banner then click it.
So, i want to help my friend. When visitor go to my friend site, it will automatic click on ads to my company site. 1 click from 1 IP per day. My friend site is a forum.
Can you please help me do this?
Thank you so much.
huyhoa
 
Posts: 35
Joined: Tue Nov 28, 2006 2:25 am

Postby richardk » Mon Dec 15, 2008 9:18 am

No.

For a start it's unethical. Secondly mod_rewrite can't click on banners.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby huyhoa » Mon Dec 15, 2008 8:02 pm

I see a solutions to do this:
I'm using 301 redirect. Then i tell my friend upload my company banner to his host like this: http://abc.com/images/mycompany.gif
Then in root directory in .htaccess file i put:
RewriteEngine on
RewriteBase /
RewriteRule ^/images/mycompany.gif$ http://mycompany.com/geturlin.php?from=refer&time=time here(get auto)&ip=Ip here(auto)&browse=Browse (auto)$


I'm using this link becoz it will track all info my boss need
http://mycompany.com/geturlin.php?from=refer&time=time here(get auto)&ip=Ip here(auto)&browse=Browse (auto)

But it does not work

Then i try to use:


RewriteEngine ON
RewriteRule ^/images/mycompany.gif$ http://mycompany.com/geturlin.php?from=refer&time=time here(get auto)&ip=Ip here(auto)&browse=Browse (auto)$1 [R=301,L]

But it still does not work.

Am i wrong anything???
And does it ok for my solution??
huyhoa
 
Posts: 35
Joined: Tue Nov 28, 2006 2:25 am


Return to Content

Who is online

Users browsing this forum: No registered users and 11 guests

cron