Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (24 May 2013 - 05:15 PM) O Dear, Where Are You? Without Your Words This Sb Is ..
@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?

Replying to How To: Create PDF With Php


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

Posted 16 May 2012 - 09:42 AM

$myimage = PDF_open_image_file($mypdf, "jpeg", "training_bground.jpg");

Did not work for me (gen02.php), so I add another parameter and it worked

$myimage = PDF_open_image_file($mypdf, "jpeg", "training_bground.jpg", "", 0);

Posted 19 April 2012 - 11:39 AM

I work withwww.pdfservices.net long ago ; stopped working with classes because the results are not comparable

yordan

Posted 11 November 2011 - 11:57 AM

I want fetch my database data in pdf. And all data show in one table.

You want to show all the data inside a single table, right? That's a simple "Select * from mytable" SQL instruction.
Now you have to carefully read the starter post of the current topic, and add your "select" instruction inside the sample code example.

Posted 11 November 2011 - 07:14 AM

how i make table in pdf with php?How To: Create PDF With Php

Actuality I will writer one code is make a pdf file. The code donnect with database.I want fetch my database data in pdf. And all data show in one table. Plzzzzz help...

-reply by jaydev


Posted 26 August 2011 - 05:09 PM

BEUTIFUL THIS IS THE BEST TOUTORIAL I EVER SEE. How To: Create PDF With Php

QUESTION NOW PDFS CAN HAVE VIDEO INSIDE THEM..IS THIS POSSIBLE WITH PHP? AGAIN GREAT CONTENT YOU HAVE HERE

reply by Eli Roberts


Posted 08 July 2011 - 05:27 PM

my host dont support these php libraries ?How To: Create PDF With Php

My host don't support these php libraries .Are there any alternatives to these libraries and also freely availableMy host => namedeal.Com , has some one ever had such problems with this host ,Are they able to solve this .ThanksHammadhaleem(engineerinme.Com)

-question by hammad haleem


Posted 01 April 2011 - 12:26 PM

about the above codeHow To: Create PDF With Php

I tried executing the code but an error, Fatal error: Call to undefined function PDF_new() in C:Inetpubwwwrootrootpdfs.Php on line 2, occurred

-reply by janu kau

Posted 01 April 2011 - 05:04 AM

file upload in textHow To: Create PDF With Php

I want upload .Txt and .Doc file in php then upload file display anther page I wbsite

-question by devesh tailor


Posted 16 December 2010 - 11:38 AM

What if I have text for more then one lineHow To: Create PDF With Php

Hi,

Nice tutorials about pdf generation, thanks, but I want to know that when we have text of more then one line, then how we will print this using line break, presently, if we have a longer text then it is showing only one line with short text (not full text line) (some part of text is getting hidden), how we can print full text with line break after page column is over and start new line with text.

early reply will help me lot.

Thanks,

 

-reply by Neeraj

 


Posted 06 October 2010 - 08:29 AM

what are the exact parameters of the open_image_file(); functionHow To: Create PDF With Php

hi ,

guys  actually I am in big trouble... Regarding to open_image_file().. Which accepts 5 parameters.

And I have found the only 3 parameters with their exact positions.. And 2 are still missing and I also know there's positions in the function. Here is the function with parameters Positions..

PDF_open_image_file( file-object,  $x=?,  $y=?, image-type,  link-to-image );

Note: $x, $y is the current position in user unit... If I am assigning  values to x,y then facing the fatal error:

Fatal error: Uncaught exception 'PDFlibException' with message'pdf_open_image_file() expects parameter 5 to be long, string given' inE:wampwwwSachinPHPpdfgridlines.Php:8 Stack trace: #0E:wampwwwSachinPHPpdfgridlines.Php(8): pdf_open_image_file(Resource id #2,'0', '200', 'png', 'logo.Png') #1 {main} thrown in E:wampwwwSachinPHPpdfgridlines.Php on line 8

And, if I am shifting the any 1among them(x,y) to last then again facing a fatal error:

with message 'String parameter 'type' has bad value "(value which was assigned to the second parameter)''

 so, please.. Please somebody shoot my trouble. 

Thanks,(in advance)

Sachin


Review the complete topic (launches new window)