<img src="/var/www/upload/$filename" alt="Photo" />
If you domain is example.com, the browser will try to load the image http://example.com/var/www/upload/$filename, which is not what you want. You need to supply the path relative to your document root, for example /upload/$filename.
In reply to Re: Proble with image on Perl-CGI
by moritz
in thread Proble with image on Perl-CGI
by daynite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |