Re: [PHP] image and text from remote URL

2003-03-11 Thread Jason Wong
On Wednesday 12 March 2003 08:06, Anthony Ritter wrote: [snip] > However, I cannot add a line of copy below the photo like: > print ("It is "); > print (date("l F j, Y")); > ?> > > Only the photo shows up and not the text. Your script has already sent out an image header and thus the request is

[PHP] image and text from remote URL

2003-03-11 Thread Anthony Ritter
There is a photograph named bar.jpg in a remote URL called http://www.foo.com The photograph is about 640 x 480 in size. The following script allows me to open and read the file. In addition, I have a file named data.jpg in my web folder. I want to write the bar.jpg into the data.jpg file and at