[PHP-WIN] MSSQL trouble: ansi_nulls?

2002-08-30 Thread Matt Kynaston
Hi there, I tried posting this to the newsgroup yesterday, but it doesn't look like it worked - sorry if it shows up twice. I'm running PHP 4.2.2 under Win2K/IIS and trying to run a stored proc in MSSQL2000 (SP2) on the same server. Exactly the same script works fine from Linux/Apache using Fre

[PHP-WIN] Re: PHP / MySQL Guestbook

2002-08-30 Thread George Nicolae
Befor insert the message into db try $message=nl2br ($message); Pls tell me if it works. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Andreas Esser" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP-WIN] Re: PHP / MySQL Guestbook

2002-08-30 Thread George Nicolae
Or... after you make the query echo nl2br(myrow["message"]); I recommend the first solution...(it's more faster) -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Andreas Esser" <[EMAIL PROTECTED]> wrote in message [EMA

[PHP-WIN] PRINTER LIST

2002-08-30 Thread Luis Moreira
Hi       I just entered this list, and would like to ask this :       When trying to use the array PRINTER_LIST, I keep getting "undefined function".       Does "c:\winnt\php.ini" need to be changed ?     Un-commenting he line with "extension=php_printer.dll" gives a different error...      

RE: [PHP-WIN] MSSQL trouble: ansi_nulls?

2002-08-30 Thread Matt Kynaston
OK, to answer my own question... The ansi_* settings were to blame for the sp failing. In Enterprise Manager I went into the Server Properties (Properties > Connections) and made sure 'ANSI null defined on' was checked and the problem has cleared up. Still mystified, though: why do connections f

[PHP-WIN] Best environment for PHP on Windows

2002-08-30 Thread Benjamin Walling
We have a website currently running ASP/IIS/Win2k. It has some problems that get it locked up on a semi regular basis, requiring a reboot or killing of dllhost.exe. I've started porting some of the code to PHP to see if this is a viable alternative. So far, I've been running it on IIS/Win2k as

[PHP-WIN] Trouble with "printer_list"

2002-08-30 Thread Luis Moreira
Hi       I just entered this list, and would like to ask this :       When trying to use the array PRINTER_LIST, I keep getting "undefined function".       Does "c:\winnt\php.ini" need to be changed ?     Un-commenting he line with "extension=php_printer.dll" gives a different error...     

Re: [PHP-WIN] Best environment for PHP on Windows

2002-08-30 Thread Pozzer Franco
Apache/CGI. Benjamin Walling wrote: > We have a website currently running ASP/IIS/Win2k. It has some problems > that get it locked up on a semi regular basis, requiring a reboot or killing > of dllhost.exe. > > I've started porting some of the code to PHP to see if this is a viable > alternati

RE: [PHP-WIN] Trouble with "printer_list"

2002-08-30 Thread Rich Gray
hi Luis Can you post the code you used e.g. printer_list(PRINTER_ENUM_LOCAL); What was the different error message you received when you uncommented the extension=... What OS are you running? XP? FYI There is an open bug for php v4.2.1/XP for this function #18408 Rich -Original Message

FW: [PHP-WIN] Trouble with "printer_list"

2002-08-30 Thread Rich Gray
Luis Is there a php_printer.dll in the extensions subdirectory to your PHP installation? Some zipfile distributions of PHP omitted this library... If no then try downloading the latest zip and installing the missing .dll and re-enabling the extension in your php.ini file or use dl() to load it. Ch

php-windows Digest 30 Aug 2002 16:20:23 -0000 Issue 1315

2002-08-30 Thread php-windows-digest-help
php-windows Digest 30 Aug 2002 16:20:23 - Issue 1315 Topics (messages 15595 through 15605): Re: .htaccess protection / php 15595 by: Christian Leberfinger MSSQL trouble: ansi_nulls? 15596 by: Matt Kynaston 15600 by: Matt Kynaston Re: PHP / MySQL Guestbook 1

[PHP-WIN] Help on new install please ..

2002-08-30 Thread David Tod Sigafoos
I am having problems on a new install of PHP and Apache Win2k, Php 4.2.2, apache 1.3.26 1) Install apache. Then browse to 127.0.0.1 and get the apache screen 2) unzip php and copy to c:/php 3) install.txt a) dlls are all in the /php directory with php.exe (did not copy to windows/syste

RE: [PHP-WIN] Help on new install please ..

2002-08-30 Thread dash php
Try the following: Apache as SAPI: a) copied php4ts.dll to windows/system32 directory b) added following lines to httpd.conf LoadModule php4_module "c:/php/sapi/php4apache.dll" # try it w/o this line AddModule mod_php4.c AddType applicaton/x-httpd-php .php Your phpinfo.ph

Re[2]: [PHP-WIN] Help on new install please ..

2002-08-30 Thread David Tod Sigafoos
Hello dash, Sorry .. but it does the same that I had noted. The browser trys to download .. This is so odd as I am simply trying to install to a local pc for testing. my server works just great .. I must be missing something simple Friday, August 30, 2002, 3:33:44 PM, you wrote: dp> Try th

RE: Re[2]: [PHP-WIN] Help on new install please ..

2002-08-30 Thread dash php
Odd... I'm assuming that you're using Win2k installed in c:\windows. Also, try undoing the changes you made to your windows\php.ini file. It may be a simple little error there. I don't have those set on my machine. Good luck, -Dash -Original Message- From: David Tod Sigafoos [mailto:[E

Re[4]: [PHP-WIN] Help on new install please ..

2002-08-30 Thread David Tod Sigafoos
Hello dash, I have gone back to the initial ini file from php and still reacts the same. Still not working. Looks like I will have to drop back and punt (reinstall) Friday, August 30, 2002, 5:35:07 PM, you wrote: dp> Odd... I'm assuming that you're using Win2k installed in c:\windows. dp> Al