Phil, Thanks for the suggestion.  I tried it and it worked the first time,
but as I changed to a second directory ./maps2/ it fell apart again.

Also, what I didn't state at the start, was that map1.jpg is actually a
variable, $map.  It's just that when I was pounding on it, I settled on
using hard names instead of variables figuring that I was at least limiting
the source for error.  The problem is the same though, it seems to work then
dies.  Not my machine either, I ftp the file to olm and see the results on

Thanks for your help.  If you have any other suggestions, please let me

----- Original Message -----
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
To: "hugh danaher" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 5:05 PM
Subject: Re: die! die! directory!

> what if you do this:
> print "<input type=image src=\"./maps/map1.jpg\" name=coordinate >";
> ??
> On Fri, 8 Feb 2002, hugh danaher wrote:
> > Help!
> >
> > I've been beating on a problem all day and think I've isolated the
problem to the following line:
> >
> >    print "<input type=image src=./maps/map1.jpg name=coordinate >";
> >
> > If I call the statement as is, I get a little red x where my map should
be.  In earlier calls to the same directory, I can get a server error,
> >
> > if I change the line to:
> >
> >    print "<input type=image src=map1.jpg name=coordinate >";
> >
> > I see the image.
> >
> > is there a way to declare the path before asking for the file, or a
better way to state the file location.
> >
> > Any help will be greatly appreciated.
> >
> > Hugh
> >

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to