develooper Front page | perl.beginners | Postings from February 2002

Re: html insert

Thread Previous | Thread Next
From:
cbsvensson
Date:
February 27, 2002 02:15
Subject:
Re: html insert
Message ID:
20020227101519.34959.qmail@onion.perl.org
but that is still an image
I wonder if I can produce text including links

any good cgi groups to suggest

thank you

"Jon Molin" <Jon.Molin@resfeber.se> wrote in message
news:3C7CAF43.98E45400@resfeber.se...
> svensson wrote:
> >
> > Is there any way I can have a script producing a bit of html code on a
> > remote computer
> >
> > and then be able to make a call to that in a HTML document which then
will
> >
> > similair to <img src="http://something.com/xx.cgi?sdfsdfsdf">
> >
> > If it can be done let me know how
>
> yes it is. this feels more like a cgi question (might wanna look in that
> mailinglist next time)
>
> before you exit you can do this:
>
> ########### start
> print "Expires: 0\n";
> print "Content-Type: image/gif\n\n" ;
> my @token_set = split (' ', '71 73 70 56 57 97 1 0 1 0 128 255 0 192 192
> 192 0 0 0 33 249 4 1 0 0 0 0 44 0 0 0 0 1 0 1 0 0 2 2 68 1 0 59');
> my $pxl;
> my $token;
> foreach $token (@token_set)
> {
>     $pxl .= pack ('C', $token);
> }
> print $pxl;
> ############# end
>
> this is a transparent 1 pxl image
>
> /jon
>
>
> >
> > thank you
> >
> > --
> > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > For additional commands, e-mail: beginners-help@perl.org



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About