php-windows Digest 7 May 2001 02:44:42 -0000 Issue 583
Topics (messages 7318 through 7330):
PHP 4.0.4pl1 ISAPI/CGI, IIS 5.0 ...
7318 by: james
7324 by: Phil Driscoll
Re: IIS and passing variables
7319 by: pratap.ladhani.processbiz.co.in
PHP and windowing
7320 by: Bob Sears
7321 by: Zak Greant
NT Domain authentification
7322 by: Jerome
Re: Surprises with PHP4/IIS?
7323 by: Phil Driscoll
What is msvcr70.dll??
7325 by: Ermanno Iannacci
7326 by: Daniel Beulshausen
Mime Mail with images larger then 3k
7327 by: M. Weller
PHP
7328 by: Lukas Lipka
7329 by: Phil Driscoll
Re: help:How can I upload the whole directory to the web
7330 by: Max Graham
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]
----------------------------------------------------------------------
Hey all!
So we've been using PHP 4 since beta, and the ISAPI module since it
stabilized. It's been pretty good, running for extended periods. We have
only had some problems when rebooting the server - the ASP and/or PHP
engines die. "Yeah-yeah" you guys all say - there're bug reports. This I
know.
Well, I just updated the system (Windows 2000 Server SP1) using the
WindowsUpdate to get the criticals, and also grabbed the new patch for the
Internet Printing bug in IIS 5.0
(http://www.microsoft.com/technet/security/bulletin/MS01-023.asp).
The old "fix" I was using for dealing with the ASP/PHP failure was just to
reboot a bunch of times, and then eventually (for some reason) things would
work out fine. HOWEVER, since installing the updates, neither PHP nor ASP
will function for very long before going "tits up". This is (understandably,
I would think) very frustrating, since the only solution I've found is to
manually kill all dllhost's and restart IIS every couple of hours!!
I tried running PHP under CGI mode, as was suggested in the bug reports I
read, but I get error messages indicating that none of the include files can
be found. I do not understand this.
One last thing I will mention, just in case it matters - I thought the
problem was to do with mixing and matching ASP and PHP (sometimes in the
same vroot, as we are migrating), however I have turned off or made
inaccessible ASP pages and this has not changed anything.
This is a CRITICAL issue, as far as we're concerned, because a number of
sites are down due to this. Any help would be greatly appreciated!!
-james.
Your problem is down to the php ISAPI module bringing down parts of IIS,
thereby killing ASP.
You MUST use the cgi version of PHP for reliable production use with php.
Your error with include files not being found will just be a simple
configuration issue - it might be to do with the location of the php
scripts, the php.exe and php4ts.dll files or settings in php.ini.
Have a play around and if you don't get anywhere send some more detailed
info to the list and we'll help you out.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
This could be that register globals is set to off in the IIS machine .
Then you may have to call the variable explicitly by its raw form
i.e.
$HTTP_GET_VARS["parameter"]
just check by phpinfo() whether the register globals is set to off or
not.
Pratap Ladhani
----- Original Message -----
From: Santiago Gonz=E1lez Herrero <[EMAIL PROTECTED]>
Date: Sunday, May 6, 2001 2:03 am
Subject: [PHP-WIN] IIS and passing variables
> Hi there
>
> It must be an stupid question, but i'm new with IIS and can't find
> the solution.
>
> I have a php document which links to another in this way:
> <a href="page.php?parameter=value">link text
>
> But in IIS (and only in IIS) the variable $parameter in the linked
> document page.php is empty. Just like there was not any parameter.
>
> The same scripts under Xitami work fine.
>
> Any clue?
>
> Thanks in advance (and excuse my poor english).
> --
> Santiago González Herrero
> [EMAIL PROTECTED]
> Gijón - Asturias (SPAIN)
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: php-list-
> [EMAIL PROTECTED]
>
In reading through my PHP text, I find no great references to PHP's
windowing ability; therefore, I presume it has none. To preserve a screen
image,
I need to open a pop-up to write the contents of a shopping cart and then
close the window. Am I correct in thinking this will be a:
PHP -> Javascript (window open) -> PHP to display shopping cart from a data
base -> Javascript to close the window -> PHP to the instigating
module.
Or, does someone know something that is not in the books and that windowing
can be accomplished with straight PHP because I don't want to
introduce another layer of unnecessary complexity.
Thankx ... folks.
Bob Sears, Owner
WebWyshez
Hi Bob,
You are correct. PHP is server-side only.
--zak
----- Original Message -----
From: "Bob Sears" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 2:45 AM
Subject: [PHP-WIN] PHP and windowing
>
> In reading through my PHP text, I find no great references to PHP's
> windowing ability; therefore, I presume it has none. To preserve a screen
> image,
> I need to open a pop-up to write the contents of a shopping cart and then
> close the window. Am I correct in thinking this will be a:
>
> PHP -> Javascript (window open) -> PHP to display shopping cart from a
data
> base -> Javascript to close the window -> PHP to the instigating
> module.
>
> Or, does someone know something that is not in the books and that
windowing
> can be accomplished with straight PHP because I don't want to
> introduce another layer of unnecessary complexity.
>
> Thankx ... folks.
>
> Bob Sears, Owner
> WebWyshez
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
I work on an intranet project in my company. We've got an NT domain. I want
to restrict access to certain pages of my intranet using the groups and
password of my NT domain, how can i do that ???
I know it's possible to make directories not available with NT but I want to
know who are connected for example to know who is filling my form for the
holidays to enter this demand in my database...
Thx for your answer ...
>Up to now I always worked with PHP/Apache (Unix, Linux, Win; CGI,
>Module). Now a customer of mine would like to subscribe for a PHP/IIS
>hosting offer. What surprises, exceptions, and special cases (compared
>to Apache solutions) do I have to take into consideration when I agree
>with the customers proposal?
The only real issue is that the ISAPI module is not stable enough for
serious use so you will have to go with the cgi version. This will give you
a bit of a performance hit and also mean that authentication headers have
already been handled by the server before the php script gets a look in, so
you can't do php authentication (although you can let NT do authentication
for you).
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
Same problem on 2 different systems NT4+APACHE and WIN98+PWS. Php look for
msvcr70.dll, and never found it. I upgraded from 4.0.4pl1, that never
request this dll. I can see the request from filemon by sysinternals. I
searched on google, altavista, etc. but I didn't find any info.
At 13:05 06.05.2001 +0200, Ermanno Iannacci wrote:
>Same problem on 2 different systems NT4+APACHE and WIN98+PWS. Php look for
>msvcr70.dll, and never found it. I upgraded from 4.0.4pl1, that never
>request this dll. I can see the request from filemon by sysinternals. I
>searched on google, altavista, etc. but I didn't find any info.
the plainvanilla php (php4ts.dll) isn't relying on such a dll.
maybe some extension, try to use dependecy walker...
http://www.dependencywalker.com
daniel
/*--
daniel beulshausen - [EMAIL PROTECTED]
using php on windows? http://www.php4win.de
Hello to all,
I try to generate greetingcards and sent them as a MIME mail. All works fine
if I use Linux. Under windows it works fine as long as the images have less
then 3k. But my cards have about 20k and it just doesnt work. Can anybody
help?? I never find any information if this is a general problem under
windows or if I make a mistake.
Thanks Markus
I use the mail command with additional headers. On the image I created I use
chunk_split(base64_encode("image")) this still works fine, but as soon as I
use the mail( ) function it doesn't work.
I am runnig Windows 98. I installed Pws and
then PHP 405-installer. Then i created a documet named index.php and wrote
<html>
<head> <title>New Page
1</title> </head>
<body> <? echo("Hello
World");? </body> </html>
But then page was empty(blank). When i clicked see
source it opened the document but the script was there.
I selected execute in my document root directory.
Whats wrong?
Lukas
P.S. : I included my ini just in
case.
|
>Whats wrong?
Clearly PWS is not picking up the script mapping for the .php file. Did you
tell the installer software you were using PWS - if so, it will have
configured the registry correctly.
Try a reboor, then double check the registry settings against those
described in the php installation notes, and check that script access is
enabled for your web root directory.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
> Subject: [PHP-WIN] help:How can I upload the whole directory to the web
Internet Neighborhood, it treats folders on a remote FTP server like folders on your
computer. Very slick ...
try it ... http://in.deerfield.com/