[PHP-WIN] IIS5, ISAPI PHP Slow load after timeout

2004-06-03 Thread Alan McDonald
I have Win2000 Server, PHP4 installed with ISAPI module. Output_buffer is ON php4isapi is in the c:\php directory php4ts.dll is in the system32 directory. All works OK especially when traffic is high to the site. But when traffic is low and I assume a timeout expires, it appears to me that php4ts.d

[PHP-WIN] RE: select top 1 * WAS: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Rel eased

2004-06-03 Thread Svensson, B.A.T. (HKG)
Does anybody know if that is faster than doing SELECT * FROM WHERE 1 = 2 ? -Original Message- From: Gerardo Rojas To: Robert Twitty; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 3-6-2004 17:14 Subject: RE: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Released Robert, Do you have an example of pul

RE: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Released

2004-06-03 Thread Robert Twitty
If you are using odbtp as a driver for the mssql ext, and want mssql_field_type() to return the actual type name, then call odbtp_set_attr( ODB_ATTR_FULLCOLINFO, 1 ); before you run any queries. -- bob On Thu, 3 Jun 2004, Frank M. Kromann wrote: > mssql_field_type() is the function for that.

RE: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Released

2004-06-03 Thread Frank M. Kromann
mssql_field_type() is the function for that. - Frank > Robert, > > Do you have an example of pulling the Column types from an MS Sql query? For example: select top 1 * from mytablename. > > loop thru the fields in the recordset and print out their data types? > > > -- > Gerardo S. Rojas > ma

RE: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Released

2004-06-03 Thread Gerardo Rojas
Robert, Do you have an example of pulling the Column types from an MS Sql query? For example: select top 1 * from mytablename. loop thru the fields in the recordset and print out their data types? -- Gerardo S. Rojas mailto: [EMAIL PROTECTED] -Original Message- From: Robert Twitty [

RE: [PHP-WIN] calculations

2004-06-03 Thread Gryffyn, Trevor
As people pointed out, your current calculations don't add up to 452. What I'm reading here is that you want an image gallery with 3 rows (do you mean columns since you're talking width?) with borders on the images. Maybe you're calculating the width to use for your table or something. If this

[PHP-WIN] Re: php.exe hang using Xitami on WinXP

2004-06-03 Thread Claus
I've now installed Apache2 and php works fine both as CGI and as module. Must be a configuration issue in Xitami. /Claus In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi, > > I'm using pre-compiled Xitami v2.5c1 and PHP v4.3.6 on WinXP. > Xitzmi is working with non-php pages and

RE: [PHP-WIN] calculations

2004-06-03 Thread Svensson, B.A.T. (HKG)
> >How did you come to the conclusion it should be 452? > Like Svensson says, how do you get 452 ? > If you calculate 452/3 you get 150.(6) What I can read from the question: the predicted result should be 452. Since the formula only does what is told to do, i.e. output the number 444 with the s

Re: [PHP-WIN] calculations

2004-06-03 Thread Luis Moreira
Svensson, B.A.T. (HKG) wrote: How did you come to the conclusion it should be 452? -Original Message- From: Lenny Davila To: 'php windows' Sent: 3-6-2004 3:23 Subject: [PHP-WIN] calculations I have in my php code: $galleryRow = 3; $maxwidth = 144; $borderwidth = 2; $imagediv = ($maxwidth +