At 05:09 PM 08/09/2001 +0530, Rahul Garg wrote:
>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..?
Generally, the only thing that can be accessed in a cgi-bin directory is
the cgi script itself. So if your images are housed in the cgi-bin
directory, your browser will not be allowed to access it, for security
reasons.
Save your images under the normal webserver document-root and reference
them in your HTML using relative or absolute paths.
Aloha,
mel
--
mel matsuoka Hawaiian Image Productions
Chief Executive Alphageek (vox)1.808.531.5474
[EMAIL PROTECTED] (fax)1.808.526.4040
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]