Req #72323 [NEW]: add pdf function
| From: | ross dot woods1954 at gmail dot com | Date: | Fri, 03 Jun 2016 08:29:44 +0000 |
| Subject: | Req #72323 [NEW]: add pdf function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-201415@lists.php.net to get a copy of this message | ||
From: ross dot woods1954 at gmail dot com
Operating system: any
PHP version: Irrelevant
Package: Unknown/Other Function
Bug Type: Feature/Change Request
Bug description:add pdf function
Description:
------------
Could you please import one of the open source pdf programs into the php
core and produce a simple php function. (This will be much better than
using an external pdf program.) It would become a simple php function
like:
pdf (âfilename.txtâ, âtarget locationâ);
Parameters
- The filename could be a variable. I.e. a user could generate an xml,
html or txt file and make it into a pdf.
- If it is a file (not a variable), the target location would be
optional because the pdf file would simply go into the same folder as
the source file.
The next obvious development would be to enclose the pdf as an email
attachment, using a similar syntax to the current email function.
emailpdf( etcâ¦)
--
Edit bug report at https://bugs.php.net/bug.php?id=72323&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72323&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72323&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72323&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72323&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72323&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72323&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72323&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72323&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72323&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72323&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72323&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72323&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72323&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72323&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72323&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72323&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72323&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72323&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72323&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72323&r=mysqlcfg