[PHP-WIN] mystery line

2002-12-05 Thread jpirtle
Thanks for all your help. You were all right. I had a missing } at the bottom of the script. I'll count them closer next time. Thanks again. God bless us everyone. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] hello there.

2002-12-05 Thread christopher calicott
I have a script in a website that I was working on about a year ago.. it was working when I left off. I had a hard drive crash and then subsequently got REALLY sidetracked and I am just getting back around to finishing the design of the site and adding new content so I can publish it. The thing i

RE: [PHP-WIN] Event Viewer Entries

2002-12-05 Thread Dash McElroy
Confirmed on Windows 2000 SP2 Apache 2.0.43 PHP 4.3.0 RC2. -Dash Event Type: Information Event Source: c-client Event Category: (6) Event ID: 2000 Date: 12/5/2002 Time: 2:12:21 PM User: N/A Computer: DASH Description: The description for Event ID (

[PHP-WIN] Event Viewer Entries

2002-12-05 Thread DL Neil
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2 Logging PHP errors: PHP.INI> log_errors = On Errors are duly logged to Win2000 Application Log as: The description for Event ID ( 2000 ) in Source ( c-client ) cannot be found. The local computer may not have the necessary registry information o

[PHP-WIN] Re: IIS fails on require_once

2002-12-05 Thread Christoph Grottolo
Hi Richard Richard Creech wrote: > Hello List, > This line is failing in our script: > > > require_once("util.php"); > > > Instead of being parsed the text in the file is simply displayed > without parsing. Did you put the contents of util.php in tags? Christoph -- PHP Windows Mailing List

[PHP-WIN] IIS fails on require_once

2002-12-05 Thread Richard Creech
Hello List, This line is failing in our script: require_once("util.php"); Instead of being parsed the text in the file is simply displayed without parsing. Other php functions do work. The immediate problem is the requiring of a file is simply not being parsed. We are using PHP Version 4.2.3

[PHP-WIN] Re: Fast Web server

2002-12-05 Thread Juan Rosero
Radovan, You won't regret it. Apache 2 is recommended for Windows 2000/NT/XP environments. Regards, geo "Radovan Radic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for the info guys > I think i will try Apache, i have been using it on Win98, i dont

php-windows Digest 5 Dec 2002 20:13:22 -0000 Issue 1472

2002-12-05 Thread php-windows-digest-help
php-windows Digest 5 Dec 2002 20:13:22 - Issue 1472 Topics (messages 17281 through 17303): Re: Fast Web server 17281 by: J.Veenhuijsen 17291 by: Radovan Radic XML parsing 17282 by: Frode Mangseth Re: PHP sessions in Windows 17283 by: J.Veenhuijsen 17

[PHP-WIN] Re: PHP sessions in Windows

2002-12-05 Thread Juan Rosero
Jochem, Thank you for your help. Yes, "session.save_path" has to point to a directory in Windows. This is how I entered in my configuration. session.save_path = c:/WINDOWS/Temp Thank you Jockem and to Rico Derks to point me to the right solution. Best regards, geo "J.Veenhuijsen" <[EMAIL PROTE

Re: [PHP-WIN] Timed mailing: is it possible?

2002-12-05 Thread Ignatius Reilly
You should use Win2K's excellent task scheduling. Create an AT with the command "c:/php/php.exe c:/.../my_script.php" (adapt) HTH Ignatius - Original Message - From: "Paolo Bonavoglia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,

[PHP-WIN] Timed mailing: is it possible?

2002-12-05 Thread Paolo Bonavoglia
I have PhP 4.23 installed as a SAPI extension of Apache 1.3.24 on the Windows 2000 server of our school; everything works very well, but there is a problem I wasn't able to solve: I have realized a Calendar system with a Paradox 9 data-base and a few php web pages to access the

RE: [PHP-WIN] Re: IIS/PHP w/ NTFS issue

2002-12-05 Thread Charles P. Killmer
I believe it is the reverse of that. IWAN for Isapi and IUSR for cgi. Correct me if I am wrong. Christopher, in your email you wrote iwsr. Did you mean iusr or iwan? Charles Killmer -Original Message- From: Luis Ferro [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:53

Re: [PHP-WIN] Re: IIS/PHP w/ NTFS issue

2002-12-05 Thread Luis Ferro
And i think that IIS uses the user IWAN for running CGIs instead of the IUSR user... Cheers... Luis Ferro Charles P. Killmer wrote: The problem when it was running as a cgi is the php.ini may not have been accessible by the user. Since it is in the winnt directory by default permission would on

RE: [PHP-WIN] Re: IIS/PHP w/ NTFS issue

2002-12-05 Thread Charles P. Killmer
The problem when it was running as a cgi is the php.ini may not have been accessible by the user. Since it is in the winnt directory by default permission would only exist admins and everyone(Read) unless you tightened it down. Also check any dll that may be needed. Charles Killmer PHP 4.2.3 IIS

[PHP-WIN] Re: IIS/PHP w/ NTFS issue

2002-12-05 Thread Christopher England
Ok, I may have fixed my own problem. I am posting so that others can see how I did so. 1. I changed from running as CGI Binary to ISAPI filter. I had tried this before but forgot something that time around. 2. Allowed "EVERYONE" group to read/exec the C:\PHP folder (instead of just IWSR user). Ho

[PHP-WIN] socket timeout issue

2002-12-05 Thread Gareth Thomas
Hi, apparently this does not work with socket_read() but only with higher level socket functions (fread etc). However I have found a function called socket_set_nonblock(socketname) which apparently does something very similar, it prevents the socket_read from waiting to receive data. I simply b

Re: [PHP-WIN] socket timeout

2002-12-05 Thread Stephen Edmonds
Take a look at http://www.php.net/manual/en/function.socket-set-timeout.php Quote: 'this function _does_not_ work on sockets which connect to a port you set up using the sockets-family of functions. it only seems to work for connections using fsock and fopen. (and functions which are derived from

[PHP-WIN] socket timeout

2002-12-05 Thread Gareth Thomas
Hi, I am attempting to timeout a socket_read() that is part of a handshaking process using socket_set_timeout(). Problem is it doesn't seem to work at all. If I switch off the handshaking write on the server side the read just sits there and doesn't time out at all. I have tried socket_set_timeout

[PHP-WIN] IIS/PHP w/ NTFS issue

2002-12-05 Thread Christopher England
I have IIS 5 with PHP 4.2.3 on a Windows 2000 server and I use NTFS to control access to the directories. A user with read/execute (or even Full Control in testing) can get to the directory fine, and .html files fine. But .php files do not come up - access denied basically. However, if a user is a

RE: [PHP-WIN] eregi problem

2002-12-05 Thread Asendorf, John
eregi( "^wm(li|si|wi)[0-9]{6}[a-z]?$", $wm_id) That should do it... tear it apart and understand it :) Part of the problem was in the alternation in the li|si|wi Part of the problem was that the + would accept sisi or wisilisiwi With {min,max}... if they are the same number, you only need on

[PHP-WIN] Re: Fast Web server

2002-12-05 Thread Radovan Radic
Thanks for the info guys I think i will try Apache, i have been using it on Win98, i dont know how it will be on 2000. Radovan "Radovan Radic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Can you tell me your experiences about web servers. > I need fa

[PHP-WIN] eregi problem

2002-12-05 Thread A. Mikkelsen
Hey I'm trying to validate these strings wmli001234wmli001234a using this if( eregi( "^" . "wm" . //first 2 letters "((li)*(si)*(wi)*)+" . //next 2 letters shal be ether LI / SI / WI "[0-9]{6,6}" .

Re: [PHP-WIN] auto increment

2002-12-05 Thread Cam Dunstan
another gotcha with auto increment fields - you can`t combine contents of two tables, each with their own auto incrementing fields which dis-allow duplicates - oughta be a law against them. do a query for the largest (max() function ) in an integer field, add one and then INSERT new value. store

Re: [PHP-WIN] auto increment

2002-12-05 Thread Ignatius Reilly
You can not do it straightforwardly. The required data type does not exist in MySQL. An auto_increment field is of type INTEGER. Ignatius - Original Message - From: "Pat Johnston" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Decem

[PHP-WIN] Re: auto increment

2002-12-05 Thread George Nicolae
just for ($i=1;$i<100;i++) { if($i<10) $string="rur0".$i; else $string="rur:.$i; { -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Pat Johnston" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

[PHP-WIN] auto increment

2002-12-05 Thread Pat Johnston
Hi With php, just wondering if anyone knows if I can auto increment a number that has a part string? Is it possible to code this for an ID in MySQL database? ie rur01 rur02 rur03 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP-WIN] PHP sessions in Windows

2002-12-05 Thread gary
Opps sorry wrong reply to wrong email :os [EMAIL PROTECTED] wrote on 05.12.2002, 12:01:04: > try here http://pear.php.net/ > > Juan Rosero wrote on 04.12.2002, 23:50:51: > > Hello, > > I've been trying to run a PHP program called PHPList 1.9.3 available at > > http://www.phplist.com/files/. The

Re: [PHP-WIN] PHP sessions in Windows

2002-12-05 Thread gary
try here http://pear.php.net/ Juan Rosero <[EMAIL PROTECTED]> wrote on 04.12.2002, 23:50:51: > Hello, > I've been trying to run a PHP program called PHPList 1.9.3 available at > http://www.phplist.com/files/. The program does not seem to retain it's > sessions when running on a Windows environment

[PHP-WIN] Re: PHP sessions in Windows

2002-12-05 Thread J.Veenhuijsen
Check if the directory where PHP stores session info exists in PHP.ini and on the harddisk ( C:\temp ??) Jochem Juan Rosero wrote: Hello, I've been trying to run a PHP program called PHPList 1.9.3 available at http://www.phplist.com/files/. The program does not seem to retain it's sessions when

[PHP-WIN] XML parsing

2002-12-05 Thread Frode Mangseth
I have an XML-issue. I have a XML-file which I call master. Then when I make small changes to this(a variant of the master) I don't want to store the whole XML in a different file, but just store the differences in a database. What would be the most efficient way to do this. Would it be better t

[PHP-WIN] Re: Fast Web server

2002-12-05 Thread J.Veenhuijsen
Try Sambar or Xitami Radovan Radic wrote: Hi Can you tell me your experiences about web servers. I need fast web server which runs on Win2000, compatible with PHP (i mean that php works without problems) and is not IIS Thx Radovan -- PHP Windows Mailing List (http://www.php.net/) To unsub

php-windows Digest 5 Dec 2002 08:04:55 -0000 Issue 1471

2002-12-05 Thread php-windows-digest-help
php-windows Digest 5 Dec 2002 08:04:55 - Issue 1471 Topics (messages 17270 through 17280): Re: ini function like ini_set and ini_alter 17270 by: Christoph Grottolo 17280 by: Franco Pozzer Re: checking if is FORM is POSTED 17271 by: Brinkman, Theodore Re: trouble wit

Re: [PHP-WIN] Re: ini function like ini_set and ini_alter

2002-12-05 Thread Franco Pozzer
Thanks Christoph, for the response. I try to d interpreting what you write to me and hope to make it in the correct way. My file that I like auto_prepend it is under Document_Root of the web_server Apache in the path like this: C:\OPENFEDRA\apache\htdocs\sv\cfg\systemVariables.php. Well. The PH