Re: [PHP] =.jpg from another URL with PHP=

2002-10-13 Thread Anthony Ritter
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

Re: [PHP] =.jpg from another URL with PHP=

2002-10-12 Thread Anthony Ritter
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

Re: [PHP] =.jpg from another URL with PHP=

2002-10-12 Thread Chris Shiflett
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

RE: [PHP] =.jpg from another URL with PHP=

2002-10-12 Thread John W. Holmes
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

RE: [PHP] =.jpg from another URL with PHP=

2002-10-11 Thread John W. Holmes
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

RE: [PHP] =.jpg from another URL with PHP=

2002-10-11 Thread Daniel Kushner
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

[PHP] =.jpg from another URL with PHP=

2002-10-11 Thread Anthony Ritter
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