Thanks to all for your respones to my inquiry.
I placed the PHP script to open the .jpg from another URL in another file
and then inserted the HTML tag to reference that file. The result
was that it outputted a small sqaure with a red x - but no image of the
map.
Any advice would be greatly
John,
Thank you.
Such as this?
..
This is a test.
http://localhost/Map.php";>
..
The output now has both the map and the text.
However - being a novice - I'm not sure of:
> 1. You're not sending an image/jpg hea
Anthony,
A web page that has embedded objects such as images is comprised of
several different things entirely. Your method was to write the binary
content that makes up an image in the same place as your HTML. So, you
will see what looks like garbage, just as you would if you opened an
image
urday, October 12, 2002 12:24 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] =.jpg from another URL with PHP=
>
> Thanks to all for your respones to my inquiry.
>
> I placed the PHP script to open the .jpg from another URL in another
file
> and then inserted the HTML tag to referen
tober 11, 2002 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] =.jpg from another URL with PHP=
>
> The following script picks up single .jpg image of a doppler weather
map
> from another URL:
> ...
>
$theURL="http://image.weather.co
PROTECTED]]
Sent: Friday, October 11, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] =.jpg from another URL with PHP=
The following script picks up single .jpg image of a doppler weather map from another
URL: ...
http://image.weather.com/web/radar
The following script picks up single .jpg image of a doppler weather map
from another URL:
...
http://image.weather.com/web/radar/us_har_closeradar_medium_usen.jp
g";
if(!($fp=fopen($theURL, "r")))
{
print("Could not open the URL.");
exit;
}
$contents=frea
7 matches
Mail list logo