how to set user authority on WIN2000 Server
| From: | tiefeng | Date: | Wed, 05 Jul 2000 04:17:10 +0000 |
| Subject: | how to set user authority on WIN2000 Server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4866@lists.php.net to get a copy of this message | ||
Hello,
I previously use php4.0RC1 under win2000+iis5.0, the system authority of the php scripts directory I
set is like this:
Administrator & Services & System: full control
IUSER-SERVERNAME: read & run
My scripts carry out a session function, and I didn't use the session functions of PHP4
(becuase it is not working properly under win2000), but realized it by hand. It is like this:
Login in static page --> process login php script
the script does this:
check login valid
if (valid){
setcookie("SESSIONID",$sessionvalue)
header("Location: someother.php3\n\n");
}
if (error-occurs) include("displayerror.php3");
It goes well until I switch the php to 4.0pl1, errors is like this:
sometimes it report that connot open 'displayerror.php3' file.
and sometime it seems has jump to 'someother.php3', but cookie is not set.
now I found that I must set the authrity of the C:\ to Everyone with full control, but I think it
is very dangerous.
Any suggestions is welcome, thanx.
Regards,
Tiefeng, Jia
11:45:59 2000-07-05
=====================================================
CACN http://www.cacn.com
Tel: 86-28-6253667X228
=====================================================