RE: [PHP-WIN] Can I call HTMLDOc from php
| From: | Woods Ron Contr SA-ALC/FMIS | Date: | Wed, 03 Jan 2001 14:59:08 +0000 |
| Subject: | RE: [PHP-WIN] Can I call HTMLDOc from php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4762@lists.php.net to get a copy of this message | ||
Here's what I had to do on a Win98 setup with my PHP scripts.
1. Create a disk file, in html format, of what you want HTMLDOC to convert.
2. use the passthru command to start HTMLDOC with the appropriate options
and the file name created in step 1 to create a .pdf file
3. use header("location: http://yoursite.com/pdflocation.pdf")
which is the
location of the HTMLDOC output file from step 2.
4. delete file created in step 1. It is no longer needed once HTMLDOC has
completed
Ron Woods/GAI
Sr. Software Engineer
1777 N.E. Loop 410
Suite 600
San Antonio, TX 78217
Tel: 210-820-2615
Fax: 210-832-0487
http://www.gai-inc.com
-----Original Message-----
From: Marius Petravicius [mailto:Marius@katalikas.lt]
Sent: Tuesday, January 02, 2001 7:51 PM
To: IThelp@americanbridge.net
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Can I call HTMLDOc from php
> I was wondering how to call HTMLDOC from php
>
header ("Location: http://www.php.net"); /*
Redirect browser to PHP web site
*/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net