PDF Problem
| From: | Holev` | Date: | Fri, 17 Nov 2000 13:00:31 +0000 |
| Subject: | PDF Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25897@lists.php.net to get a copy of this message | ||
Hi,
I downloaded PHP with all the extensions (almost) for win32.
Now the PDF functions work but when I run a file with PDF functions in it,
it takes like an hour to load, and I don't even know if it works at the end
because I never had the patience to wait for more than that.
why is it taking so long?!
here is one of the codes (from the php manual):
<?php
$fd = fopen("test.pdf", "w");
$pdfdoc = pdf_open($fd);
pdf_set_info($pdfdoc, "Author", "Uwe Steinmann");
pdf_set_info($pdfdoc, "Creator", "Uwe Steinmann");
pdf_set_info($pdfdoc, "Title", "Testing Info Fields");
pdf_set_info($pdfdoc, "Subject", "Test");
pdf_set_info($pdfdoc, "Keywords", "Test, Fields");
pdf_set_info($pdfdoc, "CustomField", "What ever makes sense");
pdf_begin_page($pdfdoc, 595, 842);
pdf_end_page($pdfdoc);
pdf_close($pdfdoc);
?>
--
_______________________________________________
David Berlin
webmaster@builder.co.il