我正在开发一个web应用程序(PHP),其中我需要获取用户的windows ID (以便使用LDAP对用户进行身份验证)。我发现使用python我可以很容易地通过以下脚本获得它:print(os.getenv('username'))问题是,当我在应用程序中使用以下命令调用它时:$pyscript = "C:\wamp64\www\Dashboard\Content\python\simple.py&
我知道如何用Express在Node中构建一个基本的HTTP服务器,我所需要的只是以下代码:var express = require('express');var server = http.createServer(app);
console.log('HTTP server listening on port: $d',server.address().port);curl htt