php-windows Digest 2 Oct 2007 07:44:11 -0000 Issue 3340
Topics (messages 28513 through 28514):
Re: PHP SYSTEM() on IIS
28513 by: Gustav Wiberg
$_GET of a parent frame?
28514 by: GP
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 ---
Hi Chris!
As default a certain account is used. You have to chose the homepage in IIS you
want this do be done with.
Right click the homepage, chose "Properties..." and you have a new dialog.
Then you have to look for the tab "Directory safety..." (I guess it is - I have
swedish only) . And then click on the Edit... -button. Uncheck "anonymous
access" and make sure that "Integrated Windows authentification" is checked.
Click Ok, and then it should work.
Best regards
/Gustav Wiberg
Ps. Because I have swedish version only, there might be some words that I've
got wrong.
-----Original Message-----
From: chris chia [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 29, 2007 4:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP SYSTEM() on IIS
Hi all,I have a Windows server being run and logged in with an admin user A
with all the necessary services running on the server.Our IIS has Anonymous
Access of root network domain user B. And when I run a PHP script to use it
SYSTEM() function to run the command 'whoami' in the shell (for e.g
SYSTEM('whoami'))user A is provided. This means that PHP is running the process
(system) under the same user. This is what we want. However if we run a
SYSTEM('example.perl'), the child process (perl) is running as user SYSTEM.How
can I make PHP run this process as user A instead of SYSTEM? I have asked for
advice from Windows IIS developer and was told that it is not a problem from
IIS server.I was told that ASP or ASP.net can change the ownership of any
process running on the server, so anyone has any idea how I can approach this
problem? Regards,Chris
_________________________________________________________________
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.35/1040 - Release Date: 2007-09-30
21:01
--- End Message ---
--- Begin Message ---
Hi all,
I'm working on an page with frames. I would like to read an url variable
from the 'main' page, in one of the sub-pages.
E.g. url (in the browser) www.test.com?log=NO
One of the frames is an php script (say: content.php), where the log must be
read.
However, the content.php script is updated from anonther (navigation frame).
So my question: is it possible to read the log variable from the parent
frame, using the $_Get statement?
If not (would not supprise me) does anyone has a sugestion?
Regards,
Gerrit
--- End Message ---