Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2009-07-24, 02:23 PM   #16
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Quote:
Originally Posted by ecchi View Post
Hmm, (1) is a lot of work, and a hell of a lot of link lists don't allow CGI, which kills (2) and (3). Plus redirects are a big no-no for most of them.
Every paid hosting account on a Linux/Apache server I've ever worked with has access logs enabled, so that requires no work on my part. At most I've had to request that those access logs be copied to an accessible dir every 24 hours, which has never been a problem.

My freesites don't use cgi, they're static html files. Outgoing links to the sponsor point to a file with a single line of code:

Code:
<?php header("Location: URL"); ?>
A hit to this file creates an entry in my access log, a record of the outgoing click.

I've been using PHP header redirects for my outgoing links for a couple years I think, and no link list worth submitting to has declined me so far... I can't remember any declining for it, to be honest.

Parsing the access logs is the only difficult part, and even that is quite easy with Python. I wouldn't attempt it with PHP though.

EDIT: I forgot to mention that the log parser is a stand alone script, in no way connected to the freesites except where I define what is a freesite.
__________________
~Warm and Fuzzy.

Last edited by virgohippy; 2009-07-24 at 02:37 PM..
virgohippy is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT -4. The time now is 04:59 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc