We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15076
    • 43 Posts
    I would like to use the pdf snippet with the latest version of php:)
    • Ok, I should be more specific and say "it depends on what the code in the snippet is doing". There are a number of suggested replacements, but the suitability of each depends on the material being split and the desired outcome.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 21560
        • 145 Posts
        actually that’s easy to fix.

        Split can be replaced by "explode" I think.

        It has the same syntax. See http://php.net/split and http://php.net/explode

        It’s a pity though, most PDF libraries can’t handle the amount of pages that Frozen Youth has (500+)
          [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
          • 15076
          • 43 Posts
          I tried explode yesterday, after getting another bunch of errors in the libraries (had to replace =& with = like 50 times), and needed to comment the get_magic_quotes_runtime() lines in one of the libraries, I just got an empty pdf document.

          So I decided to try tcpdf, since I only will be needing to convert max 5-10 pages, and have it up and running. I will be improving it a bit before I wil publish it, if people want it:)
            • 21560
            • 145 Posts
            It is always welcome!
              [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
              • 27351
              • 7 Posts
              hi Nimja,

              the download link in the first comment doesnt work. could you post the url to the makepdf.zip file?
                • 21560
                • 145 Posts
                Sorry, with a site and hosting move I kind of moved some other stuff around. The link in the first post is fixed again, yay!

                Glad to see people still use this!
                  [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
                • Quote from: Nimja at Sep 30, 2010, 01:47 PM

                  Sorry, with a site and hosting move I kind of moved some other stuff around. The link in the first post is fixed again, yay!

                  Glad to see people still use this!

                  great stuff...please don`t stop support
                    palma non sine pulvere
                    • 9995
                    • 1,613 Posts
                    got it working after removing the &= and // comment magic_quotes.

                    them it does work but i only get plain text!! no html ( <p>xxx</p> )


                    GRRRRR
                      Evolution user, I like the back-end speed and simplicity smiley