php-windows Digest 22 Feb 2001 15:17:20 -0000 Issue 458 Topics (messages 5680 through 5684): PDFLib 5680 by: Randall Barber 5682 by: Chris Adams Pipe problem on php4.0.4... 5681 by: PHP Installing in winNT 5683 by: Administrator LDAP Configuration 5684 by: Troy Moreland Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Hello there, I have installed the CGI (windows installer) version of PHP. I later downloaded the complete ZIP so I could have the DLLs. I installed everything under C:\PHP \PHP\EXTENSIONS \PHP\PDF-RELATED Now, within PHP, I try to call pdf_set_font($pdf, "Times-Roman", 12, "host", 1); Do to a lack of information in the PHP manuals (for instance, where fonts need to reside; how you call them if they don't reside there (whereever that is); what the difference between host, winansi, etc... are.) I need some guidance. I received two errors: PDFLIB.UPR not found (so I moved it into the Inetpub\wwwroot directory (which is where the script was running)). That solved that error. Times-Roman font description stuff not found (so I moved the Times-Roman.afm file into the inetpub\wwwroot directory) This did nothing. Are there environment variables I need to set? Where do the fonts go? How do I install more fonts? What is the difference between the 'host', 'winansi' etc.. things? A point in the right direction is sufficient (I don't mind reading), but if not, someone please fill in the blanks. Thank you in advance Randall Barber
On 21 Feb 2001 20:45:52 -0800, Randall Barber <[EMAIL PROTECTED]> wrote: >Now, within PHP, I try to call pdf_set_font($pdf, "Times-Roman", 12, = >"host", 1); >Do to a lack of information in the PHP manuals (for instance, where = >fonts need to reside; how you call them if they don't reside there = Do you have the documentation from PDFLib? Most of that information should apply directly to the PHP interface to PDFLib (which does basically assume you know PDF well). My understanding is that "builtin" for fonts applies to certain fonts which are built in to the various Acrobat distributions (Courier, Times-Roman, Helvetica) and thus should always be available while "host" used system fonts, requiring that the font be present to create (to get the font metrics) and view the PDF. For host fonts, you can set an environmental variable named PDFLIBRESOURCE to point to a PDFLib configuration file, one entry in which would point to the directory containing your .afm fonts. (There are a couple other ways in which PDFlib can find that resource file depending on your platform; check the manual if the environmental variable approach isn't vaiable)
Hi, I found that php4.0.4 or later version on Windows IIS can't use pipe function any more, and I don't know whether it is a bug because I can still use pipe function to run a program under php 4.0.3pl1. Do I make any mistake in configuration ?? Sam Kuo.
Hi I am very new in this area and I have to set up Apache, MYSQL,PHP and Perl work in winNT server. Some people said we have to follow sequence to make it work together, if that is true than which sequence we have to follow(which one first and which one is last)?. I downloaded PHP4 but I could not find any DLL file or exe file, which is mention in documentation.. or we have to compile all together(I have downloaded distribution version). Also is there any stander way of testing Apache,MySQL,PHP and Perl working together? Thank you in advance Regards Ashok
I have read many of the articles on how to get the LDAP extension module configured. I'm still having problems. I understand that I need to: - Uncomment php_ldap.dll extension in PHP.INI <- Done - Modify extension_dir in PHP.INI <- Done (C:\PHP\) - Give Full Control to IUSR_(machinename) <- Done (Also in Administrators group) Symptom: When I load any PHP doc, I now get the following error message: Unable to load dynamic library 'C:\PHP\php_ldap.dll' - The specified module could not be found. Please help!!! :) Troy Moreland