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
In reply to Re^6: Not able to display an image in perl CGI
by NetWallah
in thread Not able to display an image in perl CGI
by aniammu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |