Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: CGI display a gif

by bassplayer (Monsignor)
on Jun 06, 2005 at 15:56 UTC ( #463953=note: print w/replies, xml ) Need Help??


in reply to CGI display a gif

I would recommend against keeping images in the cgi-bin, and place the images/ directory in the web root. You can ensure that this is accessed by changing the SRC attribute on your image tag to "/images/1.gif". The leading slash moves us out of the local directory.

bassplayer

Replies are listed 'Best First'.
Re^2: CGI display a gif
by indie_campbell (Novice) on Jun 06, 2005 at 16:02 UTC
    i have noticed that the properties of cgi-bin foler are read only, does this make a difference (using XP)
      the question is why does it work with html code and not cgi though? seems odd

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2019-07-24 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (32 votes). Check out past polls.

    Notices?