Re: die! die! directory!
| From: | hugh danaher | Date: | Sat, 09 Feb 2002 01:35:20 +0000 |
| Subject: | Re: die! die! directory! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84074@lists.php.net to get a copy of this message | ||
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
line.
Thanks for your help. If you have any other suggestions, please let me
know.
Hugh
----- Original Message -----
From: "Philip Hallstrom" <philip@adhesivemedia.com>
To: "hugh danaher" <hdanaher@earthlink.net>
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,
misconfiguration...
> >
> > 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
> >
>