php-windows Digest 27 Jul 2001 02:22:16 -0000 Issue 670 Topics (messages 8518 through 8526): how do install 8518 by: Andrew COM object and VARIANT 8519 by: news.php.net Re: Make file.php look like file.htm ??? 8520 by: Phillip Bow 8521 by: Alain Samoun Re: MDAC 2.6? 8522 by: Christoph Steinmann ImageGammaCorrect($image, $newingamma, $newoutgamma); 8523 by: G Schneider PHP zombies on Win2K. 8524 by: Ivan Milanez Castellanos 8525 by: alain samoun 8526 by: Paul Smith 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] ----------------------------------------------------------------------
How do I install PHP on my windows 2000 Server?
I want to use a COM object : 'SGMConnection' No problem if I want to send simple requests like these : $oConnection = com_load ("SGMConnection.Connection"); echo "Version = ".com_propget( $oConnection, "version" ); $sConnect = "driver={SQL Server};server=MTBFAB4;database=Suivi;Trusted_Connection=Yes;APP=AQ;"; echo com_propput( $oConnection, "ConnectString",$sConnect); com_invoke( $oConnection, "connect"); print com_invoke( $oConnection, "IsConnected"); This object allows me to get informations from an SQL base. For this, in Visual Basic, I call a Variant and it works ! I wanted to do the same with PHP, but I could'nt read any value in $vSql variable, where I am supposed to get informations. Here are the test lines : $vRes = new VARIANT(); $sSql = "select pr_num from postchar where pr_lib = 'ParamClient'"; // I get the right line number ($iRes) where the reference is ('paramClient') $iRes = com_invoke( $oConnection, "Query", $vRes, $sSql ); but I have nothing in $vRes !!! How can I do to use an object who needs a Variant to write his informations ?
Set your webserver to parse .htm files as php files. This produces some overhead, but not enough to be noticable under most circumstances. -- phill "Rick S" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > Anyone know how to make the URL look like a basic HTML link? I would like > PHP to be transparent to the user and not displaying the .php extention in > the browser's address window. Is there a way to do this? > > Thanks, > Rick S. > >
It's always transparent for the 'average user' since that you mainly send him HTML code anyway... For the ones who look carefully at your address extension, it should not bother them to see .php as you see it more and more in URLs (close to 7 millions at the last count I believe). Anyway, I know how to change a php extension for Apache in the httpd.conf, but I believe that if you use html, then all your html will be parsed by php... Is that what you want? Alain On Thu, Jul 26, 2001 at 01:21:23AM -0400, Rick S wrote: > Hello, > Anyone know how to make the URL look like a basic HTML link? I would like > PHP to be transparent to the user and not displaying the .php extention in > the browser's address window. Is there a way to do this? > > Thanks, > Rick S. > > > > -- > 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]
"Erik H. Mathy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 002201c11132$cef82350$1300020a@erik_laptop">news:002201c11132$cef82350$1300020a@erik_laptop... > Hi Folks! > > MDAC 2.6...has anyone else experienced serious problems with it? In order > to make my NT4 server development box match a client's environment, I > installed MDAC sp1. As soon as I did so, all ODBC calls from both PHP3 and > PHP4 went haywire. Essentially, I cannot even call a odbc_connect(). I get > the following errors from the following ODBC drivers: > Me too I've got problems with MDAC 2.6 SP1. I didn't try with PHP directly but with other ODBC stuff (mysqlfront). 2.6 without SP works for me. Christoph
Hi, I have found that the following function: ImageGammaCorrect($image, $newingamma, $newoutgamma); ...does not work in PHP 4.0.6 with GD images that you create using the: ImageCreateTrueColor() ...function. Why is this? And, more importantly, how can I get around this problem? Thanks, Jefferrs ++++++++++++++++++++++++++++++++++++++++ http://www.webmastersdog.com where website owners go. and talk about stuff. ++++++++++++++++++++++++++++++++++++++++
Does anyone know how to kill the php.exe processes that get left behind for one reason or another??? One of the programmers here created a PHP script with some bugs that leave the php process hanging, and this consumes my processor a lot. Please help. Iván
I do not know about win2k but for win98/95 you press: ALT+CTRL+Delete ONCE! and you have the list of all processes, then you can select the zombies one by one to end the task. Long process sometimes ;) Alain -----Original Message----- From: Ivan Milanez Castellanos [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 4:06 PM To: 'Php-Windows' Subject: [PHP-WIN] PHP zombies on Win2K. Does anyone know how to kill the php.exe processes that get left behind for one reason or another??? One of the programmers here created a PHP script with some bugs that leave the php process hanging, and this consumes my processor a lot. Please help. Iván
You could just rewrite the script so that it worked. Ivan Milanez Castellanos wrote: > > Does anyone know how to kill the php.exe processes that get left behind > for one reason or another??? > > One of the programmers here created a PHP script with some bugs that > leave the php process hanging, and this consumes my processor a lot. > > Please help. > > Iván -- Paul Smith [EMAIL PROTECTED] http://www.dostuff.net