RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Helphand
Not sure if this will help or not, but I had a similar issue using Perl. Turns out that it was popping up a dialog box on the server when I did a save or saveas and there was a pre-existing file with that same name. I solved it by first deleting the file, then doing a saveas and the problem wen

[PHP-WIN] Getting Apache 2.0.35 and PHP 4.2 to work on Win2k

2002-04-23 Thread David
I've been running apache 2 as my server for a while, and have been running php as a cgi (I know not the best idea). I saw that 4.2 offered experimental support, so I tried upgrading to that. Install.txt only includes instructions for 1.3.x, but I tried adjusting it to 2.x I couldn't get them to wo

[PHP-WIN] Re: COM vs. ODBC

2002-04-23 Thread Ray Hunter
I would suggest to use the COM interface or move your excel file to a database and use ODBC connections if you are using a microsoft db. ~~ BigDog ~~ "Angie Tollerson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm going to be reading only some data from

[PHP-WIN] Authentication

2002-04-23 Thread Nik Alleyne
Hi All, Can anyone tell me how to ensure that all my pages are secure. I know in asp i could have used session("authenticated"). What I wish to do is to ensure when the user views a secure page that he/she has been logged in before. IF they have now, i wish to redirect them to the login.php than

[PHP-WIN] setting php variables from the client side

2002-04-23 Thread RS Herhuth
I'm still struggling a bit with sessions and state. What I think I'm trying to do is use a Javascript onclick to call a created function that will set session variables and then load a new page. Is it possible to set php variables from the client side with out passing them in the "url.html?var1

php-windows Digest 24 Apr 2002 02:04:29 -0000 Issue 1108

2002-04-23 Thread php-windows-digest-help
php-windows Digest 24 Apr 2002 02:04:29 - Issue 1108 Topics (messages 13239 through 13260): Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests) 13239 by: news 13242 by: Svensson, B.A.T. (HKG) 13243 by: Svensson, B.A.T. (HKG) 13248 by: Lars Schwarz

[PHP-WIN] Re: [PHP-DB] Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread Alan Popow
On Wed, 24 Apr 2002 03:22:38 +0800, you wrote: Glad to hear that. I thought it was something stupid that I was doing. Alan >I am having problems too. > >My ADOdb regression tests for msaccess/odbc and vfp/odbc fail every time. > >No data is being retrieved :-( > >Uggh. > > >"Christoph Grottolo"

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Scott Hurring
There is either 1) an "undocumented" bug with Excel, or there's a bug with PHP's handling of COM objects. Becuase i've tried virtually every permutation of Quit() and Release() (and even some bogus calls like Exit() just for fun) and absolutely *nothing* closes the Instance. My other gripe is th

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Neil Lincoln
I spent many hours on this and gave up and added a process kill for the EXCEL "zombie" after exiting the COM code. There must be a better way.. -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 4:40 PM To: Php-Win (E-mail) Subject: [PHP-WIN] E

[PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Scott Hurring
After working with Excel via COM, i cannot seem to get the instance of Excel to quit (CTL+ALT+DEL shows an 'EXCEL.EXE' in my process list). The script opens up a file, puts some numbers in, adds some numbers up, then closes the sheet and tells excel to exit. I've been trying for a few hours now

RE: [PHP-WIN] re: $POST vars

2002-04-23 Thread Scott Hurring
merely checking a variable is safe (for ex:) if (empty($X)) or if (defined($X)) or if ($X) I just hope you don't check for them and go on to use the dirty values w/o any sanity or bounds checking on them. :) > -Original Message- > From: Ross Fleming [mailto:[EMAIL PROTECTED]] > Subjec

[PHP-WIN] COM vs. ODBC

2002-04-23 Thread Angie Tollerson
I'm going to be reading only some data from an excel file. Is there any benefit to COM or ODBC? I tried the COM route but my scripts always timed out. Any opinions one way or the other? Angie Tollerson Alliance Technologies Web Programmer (515)245-7628 [EMAIL PROTECTED]

Re: [PHP-WIN] re: $POST vars

2002-04-23 Thread Ross Fleming
If by "safe" you mean physically safe, then yes, I can confirm that you will be in no physical danger if you make this assumption, neither the web server nor the browser will explode if you try this, thereby leaving you rather safe... ;-) Ross Matt Babineau wrote: > When submitting a page to i

Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread John Lim
I am having problems too. My ADOdb regression tests for msaccess/odbc and vfp/odbc fail every time. No data is being retrieved :-( Uggh. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > "Lars Schwarz" <[EMAIL PROTECTED]> schrieb im New

[PHP-WIN] php 4.2 and apache 2 ...

2002-04-23 Thread Michael Zeltner
hey! has anyone a working version of httpd.conf and php 4.2 and the php.ini? i've tried to install it a few times... but it didn't work please help! thanks - michael -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: [PHP-WIN] Installation php 4.2.0

2002-04-23 Thread Red Wingate
This is an old install.txt which has not been updated yet. You will find the php.exe in the /sapi/ directory in your php root -Ursprüngliche Nachricht- Von: Ethan Nelson [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. April 2002 7:13 PM An: '[EMAIL PROTECTED]' Betreff: [PHP-WIN] Instal

Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread Christoph Grottolo
"Lars Schwarz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | this has nothing to do with the odbc driver i think, because i already tried | different mdac versions, without success. it's simply like this: | switching between the two php version (without

[PHP-WIN] Installation php 4.2.0

2002-04-23 Thread Ethan Nelson
I don't understand the installation. I unpacked the zip file, but there is no php.exe file in the distribution? When I install it, all my pages come up 404 or worse. What am I missing? I read through the install.txt but it seemed to suggest that nothing dramatic has changed in the install rout

Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread Lars Schwarz
this has nothing to do with the odbc driver i think, because i already tried different mdac versions, without success. it's simply like this: switching between the two php version (without touching the mdac, odbc, sqlsrv32.dll or anything) 4.1.2 works, 4.2 doesnt, so it must be the odbc implementa

[PHP-WIN] PHP/JAVA - javax.comm.*

2002-04-23 Thread Cédric Roy
Hi, Does anyone know if it's possible to access the methods of javax.comm.* (eg. getPortIdentifier()) I encaspulated the methods in a class but I can't get it working. When I call the class from Java, it's ok. Thanks for your help Cedric Config: - Win2000 pro - PHP 4.0.4 - Apache 1.3.19 - Jav

Re: [PHP-WIN] PHP 4.2 - hard-coded paths

2002-04-23 Thread J Wynia
Not if the paths weren't in the binary for PHP 4.1.2. I'm not some sort of amateur nutcase poking around. There was a decided difference in behavior between 4.1.2 and 4.2 on the phpinfo() output. Since the values that were showing weren't to be found in any cleartext file on my system, I went to

[PHP-WIN] re: $POST vars

2002-04-23 Thread Matt Babineau
When submitting a page to itself, is it safe to check for the existance of the $POST variable to tell whether the form was submitted and if it was to perform and action utilizing the post variables? Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 6

RE: [PHP-WIN] PHP 4.2 - hard-coded paths

2002-04-23 Thread Svensson, B.A.T. (HKG)
> I just installed Apache 2 and PHP 4.2. It does work and phpinfo() brings up > indications of Apache 2 and the correct PHP version. However, the paths to > resources on my system seem to be hard-coded within the php4ts.dll. The path > to php.ini indicates c:\winnt (which has been hard-coded in th

RE: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread Svensson, B.A.T. (HKG)
Forgot to mention that it does exists a work around for this, check MSDN for help on this one. > -Original Message- > From: Anders Svensson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 4:40 PM > To: news > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Update 4.1.2 > 4.2 : M

RE: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread Svensson, B.A.T. (HKG)
This is a known bug with the ODBC driver. > -Original Message- > From: news > Sent: Tuesday, April 23, 2002 3:03 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel > Requests) > > > hi there, after updating from 4.1.2 to 4.2 i got an [S100

[PHP-WIN] Re: mysql_fetch_array warnings.

2002-04-23 Thread Nicole Amashta
Your code is possibly failing at this line: > $result = mysql_query($query); Make sure that the value in $result is != 0 so, try this: ##assuming you've already connected to the database, etc... $query = "select * from users where UserName LIKE '$username'"; if ( $result = mysql_query($qu

[PHP-WIN] Re: username and password validation!

2002-04-23 Thread Nicole Amashta
If you are using password() to validate the password when a user is logging in, you should have also used password() when you created the password in the database. Once you convert the password using password() you can't change it back. You have to use password() everytime to check it. Hope this

[PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread news
hi there, after updating from 4.1.2 to 4.2 i got an [S1000][Microsoft][ODBC SQL Server Driver] Connection is busy with results for another hstmt. this only happens after a 2nd odbc_exec relating to the same connection id. any ideas ? thanks: lars -- PHP Windows Mailing List (http://www.php.ne

php-windows Digest 23 Apr 2002 12:23:09 -0000 Issue 1107

2002-04-23 Thread php-windows-digest-help
php-windows Digest 23 Apr 2002 12:23:09 - Issue 1107 Topics (messages 13232 through 13238): Re: Problem with uploading Files with PHP 4.1.2 on IIS 13232 by: Waldemar Brand Neto 13234 by: Waldemar Brand Neto Re: Security using Apache & Windows 13233 by: Matt Hill

[PHP-WIN] mysql_fetch_array warnings.

2002-04-23 Thread Martin.Andrew
testing locally I use the following code $query = "select * from users where UserName LIKE '$username'"; $result = mysql_query($query); if ($row = mysql_fetch_array($result)) { ... ... } works fine. On the ISP machi