Dear Zentara:

  I copy that piece of code and paste in my showphoto.pl in
C:\apache2\cgi-bin\
but it still not show any photo
attach my showphoto.pl
please help again

Sincere Eric
www.linuxspice.com
linux/window pc for sale

> >
> ><img src="http://www.linuxspice.com/cgi-bin/showphoto.pl";> </Br>
>
> ##############################################
> #!/usr/bin/perl
> use strict;
> print("Content-type:  Image/jpg\n\n");
>
> local $/ = undef; # file slurp mode
> open(INFILE, "</path/to/image.jpg");
> my $img = <INFILE>;
> close(INFILE);
> binmode STDOUT;
> print $img;
> exit;
> #################################################
>
> If you put this in a script all of its own, then you can use it in an
> image tag when printing out your html like so:
> <img src="http://yourdomain.com/cgi-bin/showphoto.pl";>
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Attachment: showphoto.pl
Description: Binary data

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to