php-general Digest 5 May 2013 09:16:16 -0000 Issue 8218

Topics (messages 321008 through 321013):

Re: generate onfly PDF
        321008 by: Ashley Sheridan
        321009 by: Tedd Sperling
        321010 by: Rafnews
        321011 by: Jim Giner
        321012 by: tamouse mailing lists

PECL-Haru and UTF-8
        321013 by: Puiu Hrenciuc

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---

Rafnews <raf.n...@gmail.com> wrote:

>Hi,
>
>Is there a solution to generate onfly PDF from HTML page, and from data
>
>user typed in form (let's say like a template) without using PECL ?
>i read that is hosting does not allow such extension, we can not 
>generate PDF, so i would rather get a solution without such library.
>
>Moreover i'm searching a solution free and that i can supply with my
>web 
>components.
>I created a component that should be able to generate PDF files quite 
>often as service for user.
>
>thx
>
>Al.

Have a look at fpdf, its a class that doesn't need any special server-side 
support. Its basic, but is pretty good.

Thanks,
Ash
http://www.ashleysheridan.co.uk

--- End Message ---
--- Begin Message ---
On May 4, 2013, at 5:00 PM, Ashley Sheridan <a...@ashleysheridan.co.uk> wrote:
> Rafnews <raf.n...@gmail.com> wrote:
> Is there a solution to generate onfly PDF from HTML page, and from data
>> 
>> user typed in form (let's say like a template) without using PECL ?
>> i read that is hosting does not allow such extension, we can not 
>> generate PDF, so i would rather get a solution without such library.
>> 
>> Moreover i'm searching a solution free and that i can supply with my
>> web 
>> components.
>> I created a component that should be able to generate PDF files quite 
>> often as service for user.
> 
> Have a look at fpdf, its a class that doesn't need any special server-side 
> support. Its basic, but is pretty good.
> 
> Thanks,
> Ash

Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd

_____________________
tedd.sperl...@gmail.com
http://sperling.com








--- End Message ---
--- Begin Message ---
On 04.05.2013 23:05, Tedd Sperling wrote:
On May 4, 2013, at 5:00 PM, Ashley Sheridan <a...@ashleysheridan.co.uk> wrote:
Rafnews <raf.n...@gmail.com> wrote:
Is there a solution to generate onfly PDF from HTML page, and from data
user typed in form (let's say like a template) without using PECL ?
i read that is hosting does not allow such extension, we can not
generate PDF, so i would rather get a solution without such library.

Moreover i'm searching a solution free and that i can supply with my
web
components.
I created a component that should be able to generate PDF files quite
often as service for user.
Have a look at fpdf, its a class that doesn't need any special server-side 
support. Its basic, but is pretty good.

Thanks,
Ash
Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd

_____________________
tedd.sperl...@gmail.com
http://sperling.com








AFAIK fpdf needs zlib and gd extensions.
gd extension is almost everywhere enabled as extension, however i'm not sur zlib is enabled on most of servers...

What do you think about that ?

Al.

--- End Message ---
--- Begin Message ---
On 5/4/2013 6:31 PM, Rafnews wrote:
On 04.05.2013 23:05, Tedd Sperling wrote:
On May 4, 2013, at 5:00 PM, Ashley Sheridan <a...@ashleysheridan.co.uk>
wrote:
Rafnews <raf.n...@gmail.com> wrote:
Is there a solution to generate onfly PDF from HTML page, and from data
user typed in form (let's say like a template) without using PECL ?
i read that is hosting does not allow such extension, we can not
generate PDF, so i would rather get a solution without such library.

Moreover i'm searching a solution free and that i can supply with my
web
components.
I created a component that should be able to generate PDF files quite
often as service for user.
Have a look at fpdf, its a class that doesn't need any special
server-side support. Its basic, but is pretty good.

Thanks,
Ash
Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd

_____________________
tedd.sperl...@gmail.com
http://sperling.com








AFAIK fpdf needs zlib and gd extensions.
gd extension is almost everywhere enabled as extension, however i'm not
sur zlib is enabled on most of servers...

What do you think about that ?

Al.
Well?  Check your hoster - do they provide it or not?

--- End Message ---
--- Begin Message ---
On Sat, May 4, 2013 at 3:31 PM, Rafnews <raf.n...@gmail.com> wrote:
> On 04.05.2013 23:05, Tedd Sperling wrote:
>>
>> On May 4, 2013, at 5:00 PM, Ashley Sheridan <a...@ashleysheridan.co.uk>
>> wrote:
>>>
>>> Rafnews <raf.n...@gmail.com> wrote:
>>> Is there a solution to generate onfly PDF from HTML page, and from data
>>>>
>>>> user typed in form (let's say like a template) without using PECL ?
>>>> i read that is hosting does not allow such extension, we can not
>>>> generate PDF, so i would rather get a solution without such library.
>>>>
>>>> Moreover i'm searching a solution free and that i can supply with my
>>>> web
>>>> components.
>>>> I created a component that should be able to generate PDF files quite
>>>> often as service for user.
>>>
>>> Have a look at fpdf, its a class that doesn't need any special
>>> server-side support. Its basic, but is pretty good.
>>>
>>> Thanks,
>>> Ash
>>
>> Ash is right, here's an example I provide my students:
>>
>> http://rebel.lcc.edu/sperlt/citw185/examples/pdf/
>>
>> Everything is there.
>>
>> Cheers,
>>
>> tedd
>>
> AFAIK fpdf needs zlib and gd extensions.
> gd extension is almost everywhere enabled as extension, however i'm not sur
> zlib is enabled on most of servers...
>
> What do you think about that ?

I would think zlib is even more ubiquitous than gd; it's used all over
the place.

--- End Message ---
--- Begin Message ---
Hello,

Does anyone have experience with using Haru extension for creating
PDF files containing UTF-8 encoded characters? I saw that UTF-8 encoding
was added to libHaru 2.3.0RC1 ( see http://libharu.org/ ), but I did
not find support for this in latest PECL-Haru (1.0.4). Am I missing
something?

Thank you,
Puiu

--- End Message ---

Reply via email to