Link to home
Start Free TrialLog in
Avatar of peter_b
peter_b

asked on

Need codesample cgi to test server

Hello,

I have registered a homepage and would like to test if it supports some kind of script. I simply want to know how many people download a freeware util. If it doesnt support any scripts is there a free .cgi server, where i can place a link to my homepage so that the free cgi server will count the downloads and forward the request back to my homepage ?

I know nothing about cgi scripts so please try to explain gently :)

Of course i dont want anyone to write the code for me as it is not the purpose of EE but pointing me to some codesample would be nice.

Thanks in advance

Peter

Avatar of periwinkle
periwinkle
Flag of United States of America image

This would be easy enough to accomplish - instead of linking directly to the file that you want people to download, you would point them to the cgi script, and give, perhaps, some indication of what file they are looking to download.  Then, on the cgi server, you would log the access of that file, and redirect the location to the file that they are going to download, or to a page where they can click on the file to download it.

Avatar of peter_b
peter_b

ASKER

ok thanks, but is there some codesample for this ?
ASKER CERTIFIED SOLUTION
Avatar of periwinkle
periwinkle
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peter_b

ASKER

ok this has to wait then :) thought i was not the first one with that problem.
Can you give me the adress of a free cgi server please ?