laziness, impatience, and hubris PerlMonks

comment on

 Need Help??
NO I was not trying to get you to solve my problem.

I wrote the HTML myself and was only asking how do I link to it from a different folder

I.E. CGI SCRIPT "Apache2\cgi-bin\script.cgi"
HTML       "Apache2\data\home.html"
IMAGES     "Apache2\htdocs\images\image.jpg"
I wanted to know what should I put in the HTML to let me link to the IMAGES from the CGI SCRIPT. I knew that I could simply put in F:\foo\bar\Apache2\htdocs\images\image.jpg but I didn't WANT to do this as, on a remote server I wouldn't have access to the root directory e.g. F:\. I wanted to know how do you go link in the HTML down one directory and up two.

or

should I just generate the HTML using perl and CGI and maybe HTML::Template. or something like that.

I was just asking for help
Eoin.

In reply to Re: Re: Re: Re: CGI Image on localhost by eoin
in thread CGI Image on localhost by eoin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

• Are you posting in the right place? Check out Where do I post X? to know for sure.
• Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
• Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
• Want more info? How to link or or How to display code and escape characters are good places to start.

Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?