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

Re: html insert

Thread Previous
From:
Jon Molin
Date:
February 27, 2002 02:20
Subject:
Re: html insert
Message ID:
3C7CB243.107BEA9B@resfeber.se
cbsvensson wrote:
> 
> but that is still an image
> I wonder if I can produce text including links
> 
> any good cgi groups to suggest
> 
> thank you
> 

sorry i didn't saw that you wanted html, what i did can be useful for
counters and similar.

well, lwp is a useful module for things like that. get the html and
merge it. otherwise i'd go for a frame

the cgi list is here:
http://lists.cpan.org/showlist.cgi?name=beginners-cgi

/jon


> "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
> 
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org

Thread Previous


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