Nasty cgi?

Ray Simard ray.simard at sylvan-glade.com
Mon Aug 6 15:31:59 PDT 2001


Seems to be working now. Let's see what happens... :-)

Ray


On Mon, 06 Aug 2001 14:42:23 -0700, John Oliver
<john.oliver at hosting.com> wrote:

>Ray Simard wrote:
>
>> I tried it and it comes up fine: says THIS IS A BAD LINK!
>> PLEASE REMOVE IT!!!
>
>You're seeing that at http://www.girlsniteout2000.com?  'Cause I dont,
>even after turning off proxies and shift-reloading.  Right-clicking on
>the broken link will let me view my bad link page, though.
>
>> However (after gritting my teeth a bit) I looked at the
>> referring page and it wants an image. I tested this out and it
>> should work for you. You can test it by going to
>> http://www.personal.sylvan-glade.com/imgtest.html  There's an
>> animated GIF there I threw together and which you may or may
>> not want to use. :-)
>> 
>> Here's the Perl:
>> 
>> >#!/usr/bin/perl
>> >
>> >        print   "Content-type: image/gif\n\n";
>> >
>> >       my $filename = "/usr/local/httpd/users/httpsg/main/images/badlink_o.gif";
>> >        open(IMAGEFILE, $filename) or die "Blork! Can't open $filename";
>> >        while (<IMAGEFILE>)
>> >        {
>> >                print $_;
>> >        }
>> >        close(IMAGEFILE);
>> 
>> You would replace the path to the real GIF you want to
>> display. If you'd like to use my humble creation, go to
>> http://www.sylvan-glade.com/images/badlink_o.gif and save it
>> from there.
>
>ROFLMFAO!!!  I *died* when I saw your image!  I'm going to try that...
>:-)
>
>-- 
>John Oliver
>System Administrator
>Hosting.com, an Allegiance Telecom company
>Formerly CONNECTnet
>mailto:john.oliver at hosting.com
>t 858.638.2020
>http://www.hosting.com/




More information about the KPLUG-List mailing list