Code

URLExtensions Converter for PDF/PNG

URLExtensions Converter for PDF/PNG

3.50 (6 ratings) 3.50 stars
Cart 87 sales

URLExtensions for PHP

  • Coded in PHP for using as is, or added to an existing project
  • Default behavior as an HTTP POST
  • Shipped with a standalone website solution for generating both PDF documents and PNG screen shots of a specified URL or page
  • Uses local Windows and Linux binaries shipped with the application (no system dependencies required)
  • Can be deployed into a IIS or an Apache Web Server, both are supported
  • Supports customization of parameters (page width, margins, etc.)
  • Detailed instructions and troubleshooting provided
  • Uses latest version of wkhtmltopdf
  • If your application is hosted, make sure your web host allows running an executable process within the web application. For more information please comment or send me a message before you buy.

    The PHP script below will test if the exec() function is callable but please understand that this alone does NOT fully confirm that you are able to run the shipped executables in your system. Further host configurations may be needed.

    <?php echo exec(“ls”); ?>

    or for windows

    <?php echo exec(“dir”); ?>

    A good hosting company with remarkable support and allows running executables is Hetzner, http://www.hetzner.co.za

Minimum System Requirements

Note: don’t forget to assign write permissions for the output folder (generated-X)

Windows

  • IIS
  • CGI
  • PHP5

Linux / Mac OS

  • Apache
  • PHP5

Possible problematic areas

  • Authentication-based sites
  • Iframe’d areas
  • Flash sites

Additional notes

  • Please report any issues or improvement areas
  • Please rate if you purchase
  • Product tested on Windows7/IIS7, Ubuntu 12/Apache2 and MacOS X Mountain Lion/Apache2

Version History

Current Version: v3.0

- new release, with updated binaries
- now supports file download without local save

v2.0

- several bug fixes and improvements

v1.3

- mac os x support (should work at least on snow leopard and mountain lion)

v1.2

- removed xvfb dependency

v1.1

- new documentation (previous documentation very limited)
- fixed Linux/PDF generation issue

v1.0

- Converts PDF and PNG on Windows/Linux using local binaries
by
by
by
by
by
by