Richard, thanks. This made it much clearer. I read this, then stepped away
and thought about it later and it makes so much more sense. Basically, I
guess I ended up with the result IMG SRC = Resource id #x in my HTML.
Man, I thought I was telling it to print the results of the resource ID, but
it
On Thursday 06 January 2005 14:24, Liam Gibbs wrote:
What I'm trying to do is copy one JPEG to another JPEG (as mentioned) on
the fly. I don't want to have a new file produced, just a modified JPEG (a
few circles here and there) held in a resource. Here's how I call my
function and how I
Liam Gibbs wrote:
print(IMG ALT... HEIGHT... WIDTH... SRC = \ . copy_pic($sourcepic) .
\);
So I'm calling the function straight from the SRC attribute of the IMG
tag. Here's what's in my function:
function copy_pic($sourcepic) {
if(file_exists($sourcepic)) {
$destinationpic =
Hello,
I'm having a real frustrating time with my problem here, which is to copy one
JPEG to another resource. I'm not even sure where I'm going wrong, or how to
find it out, because it seems that I'm getting all my resource IDs fine (when I
echo them, I get 'resource ID #x'), and no error
4 matches
Mail list logo