Blank> You forgot a ")" on the first line of the script:
> Header("Content-type: image/png");

> Alain


Billions and Billions of thank-yous

Ok, now don't laugh, here's the missing context that led to  
the gaff ("Newbie Fails to Notice Missing Bracket"). 

I had 3 different GD test files, none would load, and when
I lifted this one from Weblogs.com (the one you saw appended
to my post)  I did nothing (so I thought!) to it except
highlight and copy it from the page. And now, in the glare of 
20/20 hindsight, I could at last see that each graphic test file
actually had a different reason for failing to load, not one reason
(i was stuck on the idea that I had misconfigured GD
somewhere), e.g., path misinformation in one test file, a typo in 
another (the missing bracket), forgetting to update a font 
path in another test file, not using a class object properly 
in another..As soon as I saw your reply I added the missing
bracket, whereupon THAT file loaded fine, whereupon I then knew 
that GD was not misconfigured, whereupon alternative thoughts
about each other graphic test file emerged, whereupon 
the DIFFERENT errors in each one suddenly became visible. 
Whereupon, There Was Light From GD. And It Was Good.   

Thus, although your kindly one-liner to this newbie may   
be buried in a mountain of disinterested eye-rolling 
from the php literati (the regulars here), I just wanted you 
to know that your itsy bitsy reply ended 2 weeks of 
hair-pulling for one newbie's first ever GD install, config, 
and--just a minutes ago--use.  So, Thanks a billion. 
GD works. So does this mailing list. World peace 
now seems inevitable.  

[Ps. I include all of the dull details above just in case
even one struggling php neonate finds them useful, 
comedic, or in any way reassuring. Don't be afraid to 
post dumb questions (assuming manuals, online 
articles, forum postings, and mailing list archives 
are searched through first!].   


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to