SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot sajjad's Avatar
    Join Date
    May 2005
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    reading and writing

    Hey, is there anyway to read and write into pdf file using php.
    is there any php library exists please do let me know.
    or give me suggestion about reading the text and image from pdf file and change the image and text from pdf then save the file into pdf

    thanks,
    sajjad
    If you lose your patience you lose half of battle

  2. #2
    SitePoint Addict CommanderZ's Avatar
    Join Date
    Apr 2006
    Location
    Czech Republic
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can make PDFs with quite many libraries(such as PDFlib http://www.php.net/pdf), even Zend Framework has a class for it. But I worry I will be much more difficult, I don't know about one.

  3. #3
    SitePoint Zealot sajjad's Avatar
    Join Date
    May 2005
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i want to edit from the specific location of pdf documents usin gphp
    If you lose your patience you lose half of battle

  4. #4
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Normally you cannot modify/edit the PDFs as i know so far but there are some libraries which are to be bought from somewhere else. I had found something this last time when i search via google. Please see this it might be helpful to you.
    http://versypdf-php.sybrex-systems-ltd.qarchive.org/

    But I have not used it yet. Hope it will work for you.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  5. #5
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using http://fpdf.org/ which ghelps you a lot in creating PDfs using PHP.

  6. #6
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sajjad View Post
    i want to edit from the specific location of pdf documents usin gphp
    Quote Originally Posted by satyojath1 View Post
    Try using http://fpdf.org/ which ghelps you a lot in creating PDfs using PHP.
    hello satyojath1,
    sajjad wants to edit the PDF and i think fpdf cannot edit the already created PDF. Can it?

    But one thing can be done, if the PDF was created with PHP (fpdf), i think it is very easier to re-create the same file with different content and save it to the same.

    So sajjad, which PDF file you want to edit? Was that created by yourself or it was created by other some one?
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •