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 IMG 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

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

2002-10-12 Thread John W. Holmes
, 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 IMG tag to reference that file. The result

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

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

2002-10-12 Thread Anthony Ritter
John, Thank you. Such as this? .. HTML HEAD BODY This is a test. BR IMG SRC=http://localhost/Map.php; /BODY /HTML .. The output now has both the map and the text. However - being a novice - I'm not sure of: 1.

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

2002-10-11 Thread Daniel Kushner
Save your first bit of code in a file (e.g.: image.php) Your HTML file should look like this: html head.../head body . img src=image.php . /body /html Regards, Daniel Kushner _ Need hosting? http://thehostingcompany.us -Original

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

2002-10-11 Thread John W. Holmes
Make another file that has your code in it and sends an image/jpeg header. Then insert the image like any other image: img src='yourfile.php' Hope you're not violating any copyrights... ---John Holmes... -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: