[ back to toc ]

Accessing program from own browser

Date: 2002/04/18 09:54

Hi Peter,
The probram is birdcast.cgi Version 2.0 # updated May 2, 1999.
Everything works fine, except I keep getting this message "Sorry,can't run
it from here..." every time I try to run the program from my own IE6
browser. I can access it fine from my neighbors computer. The Website is
at http://www.unlockyourlife.com/ and the link "to let them know" is
located near the bottom ot the page. The program itself is located at
Any help you can provide will be greatly appreciated.
birdcast.cgi checks the referer included in the HTTP request starting the
script. This referer (it is misspelled to one r in the middle by will)
contains the URL of the page that contained the link to the next page or
the page that contained the form that led to the page of the script. To
avoid abuse of the script there is a global variable that checks the
referer and if this check fails the program writes out the message.

If this check was not there one malicious web master could set up an HTML
form which starts your script when the client submits the form, and could
contain false text in the form. That is the reason the check is there.

Read the code of the script, there are comments that will help you to see
where the referer is checked.


[ back to toc ]