You are here: Re: FPDF « PHP Programming Language « IT news, forums, messages
Re: FPDF

Posted by Steve on 10/09/07 21:44

"Good Man" <heyho@letsgo.com> wrote in message
news:Xns99C4B29C52805sonicyouth@216.196.97.131...
> "Steve" <no.one@example.com> wrote in news:wTROi.114$OQ.5@newsfe03.lga:
>
>> i just get a blank space where an image should be. there are no errors
>> that indicate my path is wrong...or anything else. i just get a blank
>> space. here's my test code:
>>
>> <?
>> header('content-type: application/pdf');
>> require_once 'table.pdf.class.php'; // test class to ease table
>> creating
>> // only calls cell() in fpdf but
>> in a
>> way
>> // that make it more html-like in
>> creation
>> $imagePath = 'c:/inetpub/wwwroot/toyotaii/images/';
>> $pdf = new pdfTable();
>> $pdf->addPage();
>> $pdf->setFont('Arial', '', 8);
>> $image = $pdf->image($imagePath . 'tccc.logo.jpg', $pdf->getX(),
>> $pdf->getY());
>
> And I just noticed this, the function is Image() not image() but perhaps
> thats irrelevant if you've camelCased the function definition.

right. that's exactly it. fpfd has been brought into conformance with our
clients best practices...which, part of that is camelCasing interface names
rather than PascalNotation.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация