php-windows Digest 12 Jul 2001 21:12:32 -0000 Issue 649 Topics (messages 8275 through 8287): Using DLL's in PHP? 8275 by: Søren Bendtsen request for php_mcrypt.dll for 4.0.6 8276 by: Rob Styles postgresql 8277 by: Camelia Bedereag dll separately 8278 by: as Re: Using PHP in Web Pages 8279 by: elias 8281 by: Rob Styles Re: the PHP can't work on IIS5.. 8280 by: Ganishev Alexandr 8282 by: Gormley, David 8283 by: Ganishev Alexandr 8284 by: Arjen van Efferen 8285 by: Ganishev Alexandr Re: large number of data in MSSQL 8286 by: sysadmin.cheezy.net Apache and PHP: Sorry my bad 8287 by: Randall Barber 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] ----------------------------------------------------------------------
Hi I was thinking of dumping ASP, and do some PHP, but before I do that I have a questions. Can i still use .DLL'`s? The server should still be running on a Win2k OS. Søren Bendtsen
I have libmcrypt up and running under win32, and have apache and php4 running - can anyone throw me a copy of the php_mcrypt.dll for php4.0.6 so that I can get the two bits to talk to each other... cheers mmmmmrob __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
hi ! can anyone tell me how can I install postgresql to work with php on a windows 2000 machine. thx, Camelia --------------------------------- Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
is there any site from where i can download dll separately... which are available from php.net in big zip form
you can always use PHP and the include(), like header.htm is: <table width="100%"> <tr><td><a href="#">menu1</a></td><td><a href="#">menu2</a></td></tr> </table> and footer.htm is another file, in your main.php file you can do like: <html> <body> <?php include("header.htm"); ?> <!-- some htm here... --!> <?php include("footer.htm"); ?> </body> </html> "David Cox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > can someone here steer me in the correct direction? > > heres what i want to do. (im sure its possible)?? > > i dont want to have to edit every web page when i change something. can i > make multiple pages, (say a header, footer, links, maintext, and then use > PHP to call those pages up and put them in certain places in a web page? > Without have to set up html frames? Maybe just add a line of code to place > it dynamicaly or something.... > > thanks, dave > >
If all you want to do is pull navigation, or other common components, into a page then PHP is slow compared with the specifically deisgned web-server function for it - SSI (Server Side Includes). Try: http://httpd.apache.org/docs/howto/ssi.html.html I haven't found a HTTP server yet that doesn't support this standard and it's wuicker than calling into PHP by a long way. cheers mmmmmrob --- elias <[EMAIL PROTECTED]> wrote: > you can always use PHP and the include(), like > > header.htm is: > <table width="100%"> > <tr><td><a href="#">menu1</a></td><td><a > href="#">menu2</a></td></tr> > </table> > > and footer.htm is another file, > > in your main.php file you can do like: > > <html> > <body> > <?php include("header.htm"); ?> > <!-- some htm here... --!> > <?php include("footer.htm"); ?> > </body> > </html> > > "David Cox" <[EMAIL PROTECTED]> wrote in > message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > can someone here steer me in the correct > direction? > > > > heres what i want to do. (im sure its possible)?? > > > > i dont want to have to edit every web page when i > change something. can i > > make multiple pages, (say a header, footer, links, > maintext, and then use > > PHP to call those pages up and put them in certain > places in a web page? > > Without have to set up html frames? Maybe just add > a line of code to place > > it dynamicaly or something.... > > > > thanks, dave > > > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
I have the same problem.... -----Original Message----- From: Sent: None Subject: Hi ALL: when i test whether the PHP work or not with the test.php with code <?phpinfo()?> , it will show the error message box. i.e "unable to load dynamic library "PATH/FILE NAME" . the module can not be found." I'm sure that the path of all .dll files are right. PATH = C:\PHP\extionsions\ FILE NAME = php_ifx.dll php_mssql65.dll php_oci8.dll php_oracle.dll php_sybase_ct.dll The test.php is certainly in the wwwroot folder. I'm using Windows2000 Advanced Server with SP2. THX for solve my problem. Please.
hi, have you entered php.exe in the iis5 extension manager list for files ending in php? i'm running the same config of win2k server and iis5 and this is what it took to make it work. thanks, dave. -----Original Message----- From: Ganishev Alexandr [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] RE: the PHP can't work on IIS5.. I have the same problem.... -----Original Message----- From: Sent: None Subject: Hi ALL: when i test whether the PHP work or not with the test.php with code <?phpinfo()?> , it will show the error message box. i.e "unable to load dynamic library "PATH/FILE NAME" . the module can not be found." I'm sure that the path of all .dll files are right. PATH = C:\PHP\extionsions\ FILE NAME = php_ifx.dll php_mssql65.dll php_oci8.dll php_oracle.dll php_sybase_ct.dll The test.php is certainly in the wwwroot folder. I'm using Windows2000 Advanced Server with SP2. THX for solve my problem. Please. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] This e-mail and any attachments accompanying this transmission may contain information which is or may be confidential and / or legally privileged. The information is intended for the use of the individuals or entities named on this transmission. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited, and that this e-mail and any attachments should be returned to the sender immediately. If you have received this e-mail in error please notify the sender immediately and permanently delete the original and any copy or print-out thereof. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by RCI Europe for any loss or damage arising in any way from receipt or use thereof. RCI Europe. Registered office: Kettering Parkway, Kettering, Northants NN15 6EY, England. Registered in England and Wales: Registered No: 1148410. VAT No: 217 7047 68
Dave, I have made changes, but.... X-Powered-By: PHP/4.0.4pl1 Content-type: text/html LDAP query test Connecting ... Fatal error: Call to undefined function: ldap_connect() in c:\inetpub\wwwroot\example.php on line 7 PHP Warning: Unable to load dynamic library 'C:\PHP\extensions\php_ldap.dll' - The specified module could not be found. in Unknown on line 0 Alexander Ganishev -----Original Message----- From: Gormley, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 3:59 PM To: Ganishev Alexandr; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] RE: the PHP can't work on IIS5.. hi, have you entered php.exe in the iis5 extension manager list for files ending in php? i'm running the same config of win2k server and iis5 and this is what it took to make it work. thanks, dave. -----Original Message----- From: Ganishev Alexandr [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] RE: the PHP can't work on IIS5.. I have the same problem.... -----Original Message----- From: Sent: None Subject: Hi ALL: when i test whether the PHP work or not with the test.php with code <?phpinfo()?> , it will show the error message box. i.e "unable to load dynamic library "PATH/FILE NAME" . the module can not be found." I'm sure that the path of all .dll files are right. PATH = C:\PHP\extionsions\ FILE NAME = php_ifx.dll php_mssql65.dll php_oci8.dll php_oracle.dll php_sybase_ct.dll The test.php is certainly in the wwwroot folder. I'm using Windows2000 Advanced Server with SP2. THX for solve my problem. Please. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] This e-mail and any attachments accompanying this transmission may contain information which is or may be confidential and / or legally privileged. The information is intended for the use of the individuals or entities named on this transmission. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited, and that this e-mail and any attachments should be returned to the sender immediately. If you have received this e-mail in error please notify the sender immediately and permanently delete the original and any copy or print-out thereof. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by RCI Europe for any loss or damage arising in any way from receipt or use thereof. RCI Europe. Registered office: Kettering Parkway, Kettering, Northants NN15 6EY, England. Registered in England and Wales: Registered No: 1148410. VAT No: 217 7047 68 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Does IIS has enough access rights to load those libraries ? maybe you should check that out too good luck, Arjen -----Original Message----- From: Ganishev Alexandr [mailto:[EMAIL PROTECTED]] Sent: donderdag 12 juli 2001 14:54 To: Gormley, David Cc: [EMAIL PROTECTED] Subject: [PHP-WIN] RE: the PHP can't work on IIS5.. Dave, I have made changes, but.... X-Powered-By: PHP/4.0.4pl1 Content-type: text/html LDAP query test Connecting ... Fatal error: Call to undefined function: ldap_connect() in c:\inetpub\wwwroot\example.php on line 7 PHP Warning: Unable to load dynamic library 'C:\PHP\extensions\php_ldap.dll' - The specified module could not be found. in Unknown on line 0 Alexander Ganishev -----Original Message----- From: Gormley, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 3:59 PM To: Ganishev Alexandr; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] RE: the PHP can't work on IIS5.. hi, have you entered php.exe in the iis5 extension manager list for files ending in php? i'm running the same config of win2k server and iis5 and this is what it took to make it work. thanks, dave. -----Original Message----- From: Ganishev Alexandr [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] RE: the PHP can't work on IIS5.. I have the same problem.... -----Original Message----- From: Sent: None Subject: Hi ALL: when i test whether the PHP work or not with the test.php with code <?phpinfo()?> , it will show the error message box. i.e "unable to load dynamic library "PATH/FILE NAME" . the module can not be found." I'm sure that the path of all .dll files are right. PATH = C:\PHP\extionsions\ FILE NAME = php_ifx.dll php_mssql65.dll php_oci8.dll php_oracle.dll php_sybase_ct.dll The test.php is certainly in the wwwroot folder. I'm using Windows2000 Advanced Server with SP2. THX for solve my problem. Please. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] This e-mail and any attachments accompanying this transmission may contain information which is or may be confidential and / or legally privileged. The information is intended for the use of the individuals or entities named on this transmission. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited, and that this e-mail and any attachments should be returned to the sender immediately. If you have received this e-mail in error please notify the sender immediately and permanently delete the original and any copy or print-out thereof. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by RCI Europe for any loss or damage arising in any way from receipt or use thereof. RCI Europe. Registered office: Kettering Parkway, Kettering, Northants NN15 6EY, England. Registered in England and Wales: Registered No: 1148410. VAT No: 217 7047 68 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Access rights on this folder - Everyone, Full Control Thank for you advance, Alexander -----Original Message----- From: Arjen van Efferen [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 5:42 PM To: Ganishev Alexandr; Gormley, David Cc: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] RE: the PHP can't work on IIS5.. Does IIS has enough access rights to load those libraries ? maybe you should check that out too good luck, Arjen -----Original Message----- From: Ganishev Alexandr [mailto:[EMAIL PROTECTED]] Sent: donderdag 12 juli 2001 14:54 To: Gormley, David Cc: [EMAIL PROTECTED] Subject: [PHP-WIN] RE: the PHP can't work on IIS5.. Dave, I have made changes, but.... X-Powered-By: PHP/4.0.4pl1 Content-type: text/html LDAP query test Connecting ... Fatal error: Call to undefined function: ldap_connect() in c:\inetpub\wwwroot\example.php on line 7 PHP Warning: Unable to load dynamic library 'C:\PHP\extensions\php_ldap.dll' - The specified module could not be found. in Unknown on line 0 Alexander Ganishev -----Original Message----- From: Gormley, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 3:59 PM To: Ganishev Alexandr; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] RE: the PHP can't work on IIS5.. hi, have you entered php.exe in the iis5 extension manager list for files ending in php? i'm running the same config of win2k server and iis5 and this is what it took to make it work. thanks, dave. -----Original Message----- From: Ganishev Alexandr [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] RE: the PHP can't work on IIS5.. I have the same problem.... -----Original Message----- From: Sent: None Subject: Hi ALL: when i test whether the PHP work or not with the test.php with code <?phpinfo()?> , it will show the error message box. i.e "unable to load dynamic library "PATH/FILE NAME" . the module can not be found." I'm sure that the path of all .dll files are right. PATH = C:\PHP\extionsions\ FILE NAME = php_ifx.dll php_mssql65.dll php_oci8.dll php_oracle.dll php_sybase_ct.dll The test.php is certainly in the wwwroot folder. I'm using Windows2000 Advanced Server with SP2. THX for solve my problem. Please. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] This e-mail and any attachments accompanying this transmission may contain information which is or may be confidential and / or legally privileged. The information is intended for the use of the individuals or entities named on this transmission. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited, and that this e-mail and any attachments should be returned to the sender immediately. If you have received this e-mail in error please notify the sender immediately and permanently delete the original and any copy or print-out thereof. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by RCI Europe for any loss or damage arising in any way from receipt or use thereof. RCI Europe. Registered office: Kettering Parkway, Kettering, Northants NN15 6EY, England. Registered in England and Wales: Registered No: 1148410. VAT No: 217 7047 68 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
There is a sample of how to do this on the PHP manual page on COM. For those lazy folks, here's some code that I have already used. + + + + + $dbConn = new COM("ADODB.Connection") or die ("ouch!"); $dbConn->Open("Provider=SQLOLEDB; Data Source=server1; Initial Catalog=Pubs; User ID=dbo; Password="); $recordset = $dbConn->Execute($sql); while (! $recordset->EOF) { // *** here's the only real problem with using the ADO object // you *have* to use two lines of code to extract the value. $field = $recordset->Fields("fieldname"); print $field->value; $recordset->MoveNext(); } $recordset->Close(); $dbConn->Close(); + + + + + + hth, -james. To: [EMAIL PROTECTED] Date: Thu, 12 Jul 2001 11:57:23 +0800 From: gary Subject: Re: [PHP-WIN] large number of data in MSSQL Hi Dario, Thank you. I would like to know how to use ADO in MSSQL 7.0. Can you tell me, please? Gary
My apologies... Turns out I forgot to copy the php4ts.dll over top of the old 4.0.4 dll and that was the problem. Thanks in advance to anyone that responds to my previous message. RDB