php-windows Digest 16 Dec 2001 11:01:41 -0000 Issue 903
Topics (messages 10915 through 10918):
Re: ISAPI Status
10915 by: Michael Sims
10918 by: Alain Sayez
Re: Loading modules
10916 by: Michael Sims
Re: What to do, what to do!
10917 by: Hace
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]
----------------------------------------------------------------------
--- Begin Message ---
At 06:07 PM 12/15/2001 +0000, Jeff Waldock wrote:
>For what it's worth, I have been running PHP ISAPI (versions 4.0.6 and
>earlier) on Win2k and WinNT4 (SP6) for quite a while - 12 months and approx
>2 years, respectively, and have had not a single problem - totally
>fault-free. I have to say that I am not using IIS though - these machines
>are running Sambar server, version 5 (It's free, and I can highly recommend
>it! - http://www.sambar.com).
The only reason that I have to use IIS (and Windows, for that matter) is
because I'm slowly but surely converting a largish site from ASP/VBScript
to PHP, and I may have to go live before the entire site is
converted. Otherwise I'd be doing this on Apache/Linux.
Thanks for the info!
--- End Message ---
--- Begin Message ---
I'm currently using PHP 4.1.0 and ISAPI module under IIS 5.0, W2K Server and
I have no problem.
Some differences between ISAPI and CGI, ISAPI doesn't recognize
$REMOTE_USER. I use the new $_SERVER["REMOTE_USER"] instead. It works !
Alain Sayez
"Michael Sims" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 12:27 PM 12/14/2001 -0800, Flint Doungchak wrote:
> >I was just wanting to see what people are experiencing with the ISAPI
module
> >for IIS 5.0 with PHP 4.1.0.
>
> Sorry I don't have an answer to your question, but just a related question
> of my own. I've seen lots of people refer to 4.1.0 as "finally a stable
> ISAPI dll". Are people having that much trouble with the previous
> versions? I don't have a lot of experience running PHP on Windows, but I
> have been toying with 4.0.6 as an ISAPI dll running on NT/IIS 4.0 for
about
> three weeks now. It's done some funky things, usually right after I start
> the server, but if I manage to get it started it seems to stay running.
>
> I'm just wondering if my experience is common or not...right now I don't
> have a super compelling reason to immediately upgrade because 4.0.6 is
> pretty solid for me...
>
> Of course, I'm just doing development on this machine, and it's only me
and
> about three other people who hit it regularly. Should I be expecting it
to
> explode when I start putting it into production?
>
>
--- End Message ---
--- Begin Message ---
At 06:12 PM 12/15/2001 +0530, Bharath Bhushan Lohray wrote:
>Altough I have included (uncommented) certain modules from the php.ini, and
>restarted apache, I am not able to use the features of those modules.
>
>I receive an error that the function is not defined.
>
>Initially I saw dialog boxes with errors when the module path was wrong. Now
>that I have corrected it there is no error. This surely means that the
>modules are loaded successfully.
>
>My script is a copy pase from the php docs which i got from the php.net
>site.
Couple of ideas from my (admittedly limited) experience:
On my test machine (NT/IIS 4.0) PHP running as an ISAPI dll had the odd
tendency to sometimes crash when starting the service, and sometimes would
delete the php.ini file when this happened. I'd make a change, see that it
didn't take effect, look for the php.ini, and it'd be gone. Needless to
say I got in a habit of creating a backup everytime I made a change.
Probably I'd try what I like to call a "sanity check". Make a change to
one of the settings in php.ini (say, set session.use_cookies to 0), restart
the server, then use the <?phpinfo()?> function to see if the change
actually registered. If it didn't, then the server is still not reading
your php.ini for some reason.
What is the module that you are trying to use?
--- End Message ---
--- Begin Message ---
Todd Williamsen schreef:
>I am asking You All Knowing Ones what would be a solution to this and how
>would I implement it?
You have to let the 'losers' of games confirm the (lost) matches.
Its up to you how to do that.
Maybe sent the loser an email with some confirmationcode that is
created when the winner enters the result. So when the winner enters
the result, a random string is saved in a table with the match, and
you sent the loser an email with an URL like:
===
WinnerName has submitted the result of a game.
According to winner, the score was:
WinnerName: 45
You: 42
Please confirm this result by going to:
http://madden.williamsen.net/confirmgame.php?gameid=43&confirmcode=SAD232
If the score was different, please enter the correct result at:
http://madden.williamsen.net/otherresult.php?gameid=43
If you have never played against WinnerName, please go to:
http://madden.williamsen.net/wehavesomesuckers.php?name1=WinnerName&name2=YouName
===
This way, losers only have to click a link to confirm a lost game. Of
course, the confirmation-code must not be sent to the winner of the
game...
Good luck,
Hace
--
http://hace.dyndns.org
--- End Message ---