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
, 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
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
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.
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
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:
6 matches
Mail list logo