php-windows Digest 7 Sep 2001 05:15:11 -0000 Issue 741 Topics (messages 9216 through 9222): Need some comments ! 9216 by: Marcel Prisi Re: Installing on NT -- SOLVED 9217 by: George Pitcher Access to LDAP server from PHP on NT with IIS 9218 by: Sridhar Moparthy php4apache.dll not loading under W98/Apache/PHP4.0.4 9219 by: Jean Philippe Reis Safe mode w/ IIS4 + PHP 9220 by: Eric R. Gavin Table Search please HELP 9221 by: Devon 9222 by: leo g. divinagracia iii 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 all PHPWin users !! Could some of you comment on using php4 on Win2k/IIS/SQLServer2k on production systems, on quite high load servers (25-50 mio pageviews/month spread across 3 bi-proc machines with enough ram + 3 SQLServer machines) Even if you have lower loads, how well does latest php run on IIS/ISAPI, how stable ? Could please give real-world example ? Thanks in advance.
Sorry, a bit premature - it's now running fine. Now wait for all my desperate calls for help in coding! Regards George ----- Original Message ----- From: George Pitcher <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 2:34 PM Subject: [PHP-WIN] Installing on NT > Hi all, > > Having done an install of 4.0.6 on NT4SP6a and restarted the machine and > IIS4, how do I get PHP to work? > > Do I need to change some registry stuff? > > I have tried calling phpinfo as I do on my Apache NT box or my Apache > LinuxPPC box but I only get a page displaying the actual code rather than a > processed page. > > Help please. > > > Regards > > George Pitcher > > Technical Manager > HERON Project > Napier University > Edinburgh EH10 5DT > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > http://www.heron.ac.uk > ================================================ > programmer - A device for transmuting caffeine into code. > ================================================ > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > -- > 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 your free @yahoo.com address at http://mail.yahoo.com
Hi, We are going to setup a web server on WINNT. We are going to use PHP to develop our web site. Do I need to install any software on NT server to access LDAP server from PHP?. I know that I have to install PHP with LDAP option. Other than that do I need any other software to access LDAP with PHP on NT Server. Thanks. Sridhar.
I'm using windows 98, Apache 1.3.19 and php 4.0.4, and it used to work fine until some weeks ago. Now when I start apache, with php configured as a module, it gives me the folowing error: "Syntax error on line 190 of c:/programas/apache group/apache/conf/httpd.conf: Cannot load c:/programas/php/sapi/php4apache.dll into server: (31) A device connected to the system is not working:" (Last sentence is a translation from portuguese). First, it gave me an error because of odbc32.dll, but the I de-installed and re-installed Access 2000, and it started to give this other error. It has always worked fine before with this config. The error must (at least that's what i think...) dll related.
I've looked all around on this stuff to no avail. It appears that Safe Mode just isn't working on my machine. I'm running PHP as a CGI executable and with the config option: safe_mode = on I can still merrily delete files from the root of my C: Before I get a response of, "Well, just change the file system privileges." It should be pointed out that I'm not doing that so that I can TEST safe mode. IIS has a lot of little hidden areas that need to be executable, writeable, etc.; and it would be TREMENDOUSLY difficult for me to secure this whole thing via file system privs. Enter Safe Mode. Or so I thought. Safe mode just seems to not be working at all. The UID of the script I'm running is 0 and yet the UID of the root directory is 0. I AM, however, running all my virtual web servers as their own user. I have confirmed this by denying privileges to Everyone on the root and producing failure; and then granting privileges ONLY to the web server "user" for the root and getting success. So file system privs are working; but I'm confused as to why the uid of the script is 0. This is the case even for a script that is not "owned" (NT file system-wise) by the Administrators group. Am I missing something? Thanks, Eric Gavin
Below is an example of my code which searches a table and prints the result, the problem is that it only displays the TechContact where I want it to display all the fields that associated with it in that row off the colum eg. Mobile, AdminContact etc etc Any suggestions? if ($TechContact == "") {$TechContact = '%';} $result = mysql_query ("SELECT * FROM enet WHERE TechContact LIKE '$TechContact%'"); print $row["TechContact"];
assuming table has column1,... column5. and you want to print all five columns. your print statement would read: print $row[column1], $row[column2]... ,$row[column5]; you are just printing one column, the TECHCONTACT one... instead of all the ones you want. there's also a print array function that would dump the entire contents of the ROW array all at once... but it's late and i'm too tired (probably lazy) to look it up... ;-) Devon wrote: > > Below is an example of my code which searches a table and prints the result, > the problem is that it only displays the TechContact where I want it to > display all the fields that associated with it in that row off the colum eg. > Mobile, AdminContact etc etc Any suggestions? > > if ($TechContact == "") > {$TechContact = '%';} > $result = mysql_query ("SELECT * FROM enet > WHERE TechContact LIKE '$TechContact%'"); > print $row["TechContact"]; > -- Leo G. Divinagracia III [EMAIL PROTECTED]