Have you tried adding the path to the image?

You didn't provide much information, so I am going to make a few
assumptions:

Assumption 1:
- Your HTML file that you are testing is in the /htdocs directory

Assumption 2:
- Your CGI script is in the /cgi-bin directory

I realize that you said you had the "same path", but are you sure?  Try
adding the path information to the graphic and see what that results in....
Also, try looking at the HTML SOURCE that is generated by both the CGI and
the HTML page.  See if you can spot a difference between them...

HTH,
Brent




                                                                                       
    
                    "Rahul Garg"                                                       
    
                    <rahul@shakti        To:     <[EMAIL PROTECTED]>                  
    
                    pro.com>             cc:                                           
    
                                         Subject:     Image not coming in perl script  
    
                    08/09/01             while displaying n simple html with the same  
    
                    06:39 AM             path..Why?                                    
    
                                                                                       
    
                                                                                       
    




hello Everybody ,

In perl script code goes like this...
..
<body>
<p><IMG SRC="new.gif" alt="sorry">
</body>
....Its not running(image not shown)sorry is displayed ...but the complete
perl script except this is working very fine....
if i run the same in simple html, image is shown.....no path problem...

...is there anything that needs to be done in perl scripts to include
images..?

Thanks in advance,
Rahul Garg





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

Reply via email to