Use PHP to detect which htaccess user signed in?

后端 未结 6 1140
盖世英雄少女心
盖世英雄少女心 2020-12-15 17:24

I\'m constructing an upload so people I know can send me files securely, and with ease. But I want to design it just so, that when one of my friends sign in with their

6条回答
  •  鱼传尺愫
    2020-12-15 18:07

    Not to open up an old task, but running PHP 5 with Apache 2.2 and this is the variable that works for me:

    $_SERVER['USER'];
    

提交回复
热议问题