Re: Drawing and Calling an image?
Well it isn't you Lost ... it is me. I went back and copied the code I
posted here and it works. I still have the original files and they are what
I posted, line for line they are exactly the same. I checked the file size
of "img.php" and the old file is 1 byte more than the new file, so I have to
assume that it is some kind of control charater that I can't see (using
dreamweaver).
Thank you for your help Lost.
David
"-Lost" <spam_ninjaREMOVEME@REMOVEMEcomcast.net> wrote in message
news:I-ednTixStGdNO3YnZ2dnUVZ_smdnZ2d@comcast.com...
> "David" <nobody@spamcop.net> wrote in message
> news:ekps5e$2vu4$1@news.iquest.net...
>>
>> "-Lost" <spam_ninjaREMOVEME@REMOVEMEcomcast.net> wrote in message
>> news:YfGdnWdgOf6uHPPYnZ2dnUVZ_vmdnZ2d@comcast.com. ..
>>> "David" <nobody@spamcop.net> wrote in message
>>> news:ekkna7$1jq8$1@news.iquest.net...
>>>>I am just begining writing in PHP (5.2.0) after getting it installed and
>>>>I
>>>
>>> var $im = NULL;
>>>
>>> 'var' is deprecated in PHP 5.x. Use public/private/protected instead.
>>>
>>> public $im = NULL;
>>>
>>> ...should fix your problem.
>>>
>>> -Lost
>>>
>>
>> Well I tried it... it did get better but not right still. It does now
>> see the size of the image, but still places an X in it, rather than
>> putting in the text.
>>
>> David
>
> *YOUR* code, *EXACTLY* as is runs just fine with *NO* error. All you have
> to do is change that deprecated 'var' to 'public'.
>
> I do not know what else to tell you aside from that.
>
> -Lost
>
|