in reply to Re^5: Not able to display an image in perl CGI
in thread Not able to display an image in perl CGI
One possible option is to do:
which assumes that "/var/www" is the server root.my $file = "/cgi-bin/PTF//WP_20140410_19_01_49_Pro.jpg";
What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
-Larry Wall, 1992
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Not able to display an image in perl CGI
by aniammu (Novice) on Apr 30, 2014 at 05:22 UTC | |
by poj (Abbot) on Apr 30, 2014 at 06:55 UTC | |
by aniammu (Novice) on Apr 30, 2014 at 07:19 UTC | |
by poj (Abbot) on Apr 30, 2014 at 08:10 UTC | |
by Anonymous Monk on Apr 30, 2014 at 08:41 UTC | |
by aniammu (Novice) on Apr 30, 2014 at 08:48 UTC | |
|