Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^8: Not able to display an image in perl CGI

by poj (Abbot)
on Apr 30, 2014 at 06:55 UTC ( [id://1084441]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Not able to display an image in perl CGI
in thread Not able to display an image in perl CGI

my mistake - remove the ; on the first line
#!/usr/bin/perl
poj

Replies are listed 'Best First'.
Re^9: Not able to display an image in perl CGI
by aniammu (Novice) on Apr 30, 2014 at 07:19 UTC
    Now I can see that I not getting any error in Explorer, but the image is not displayed. ( One small icon has been displayed after executing the script )

    In erro_log

    [Wed Apr 30 12:27:07 2014] [error] [client 10.142.205.193] (8)Exec for +mat error: exec of '/var/www/cgi-bin/PTF/WP_20140410_19_01_49_Pro.jpg +' failed, referer: http://10.58.117.54/cgi-bin/PTF/image1 [Wed Apr 30 12:27:07 2014] [error] [client 10.142.205.193] Premature e +nd of script headers: WP_20140410_19_01_49_Pro.jpg, referer: http://1 +0.58.117.54/cgi-bin/PTF/image1
      Try with some other jpg files that you know are good.
      poj
        hi :) even if the jpeg isn't good, the webserver wouldn't care about that ... now because the shebang is broken the error message changed .... :)
        :( I used some different jpg file which has been used in our product GUI. But still the same issue

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1084441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-19 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found