|
Home > Archive > Netware Webserver > April 2007 > UserName & PHP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| spravce@gymhu.cz 2007-04-04, 7:11 am |
| Good morning,
is it possible to find out the username (login name) of the user
logged in the net by the mean of php script? I tried $_SERVER
['PHP_AUTH_USER'] and $_SERVER['REMOTE_USER'], but only with "Undefined
index: PHP_AUTH...(REMOTE...)..." in the error.log.
NW6.5, Apache 2.0.59, php 5.2.1.
Regards,
Martin
| |
| Anders Gustafsson 2007-04-04, 7:11 am |
| ,
> is it possible to find out the username (login name) of the user
> logged in the net by the mean of php script? I tried $_SERVER
> ['PHP_AUTH_USER'] and $_SERVER['REMOTE_USER'], but only with "Undefined
> index: PHP_AUTH...(REMOTE...)..." in the error.log.
> NW6.5, Apache 2.0.59, php 5.2.1.
>
Dobry den,
Please define "logged in", do you mean loggen in on the local Ws or logged
in to the web app?
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2600
| |
| spravce@gymhu.cz 2007-04-04, 7:11 am |
| > ,
with "Undefined[vbcol=seagreen]
> Dobry den,
>
> Please define "logged in", do you mean loggen in on the local Ws or
logged
> in to the web app?
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2600
>
I mean the local workstation (authenticated by Novell Client...)
Martin
| |
| Anders Gustafsson 2007-04-04, 1:12 pm |
| ,
> I mean the local workstation (authenticated by Novell Client...)
> Martin
>
You need to use NetIdentity for that, please have a look at the Novell
developer Wiki for that.
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2600
| |
| spravce@gymhu.cz 2007-04-04, 1:12 pm |
| > ,
> You need to use NetIdentity for that, please have a look at the Novell
> developer Wiki for that.
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2600
>
Thank you, I will view at it.
(Dekuji :-))
| |
| Anders Gustafsson 2007-04-04, 1:12 pm |
| ,
> Thank you, I will view at it.
> (Dekuji :-))
>
OK. My Czech vocabulary is somewhat limited, Good day, thanks and
of-course "pivo" ;)
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2600
| |
|
|
| KeN Etter 2007-04-04, 7:12 pm |
| On Wed, 04 Apr 2007 15:16:06 GMT, Anders Gustafsson
<dalton@nomail.to.me> wrote:
>Also see:
>http://groups.google.com/group/nove...cee0bf6e8f087c8
I am using Guenter's nwwhoami.php script and it works quite well. I
just had to make sure that everyone had a connection to the webserver.
I did this by mapping a drive and giving everyone Read Only access to
a single folder.
Regards,
Ken Etter
Novell....it does a server good!
| |
| Anders Gustafsson 2007-04-04, 7:12 pm |
| KeN Etter,
> I am using Guenter's nwwhoami.php script and it works quite well.
>
Cool. I must have a peek at it to incorporate in my Java stuff then 
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2600
| |
| KeN Etter 2007-04-05, 1:12 pm |
| Anders,
I have a form on an internal website. Since users are already logged
into the network, I did not want to ask them to login to this webpage,
seemed a bit redundant. I use Guenter's script to determine who they
are when they access the form.
Regards,
Ken
Novell....it does a server good!
| |
| spravce@gymhu.cz 2007-04-09, 1:11 pm |
| Ken,
I tried Guenter's nwwhoami.php script, but I have problem with
php2ucs.nlm. I obtained this warning on the error.log:
--------------------------------------------------------------
[09-Apr-2007 18:38:41] php Warning: php Startup: : Unable to initialize
module
Module compiled with module API=20041030, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
--------------------------------------------------------------
---> and php2ucs.nlm is not loaded.
I have php 5.2.1, but php2ucs.nlm is 5.0.5. It's perhaps cause
problem...? I didn't find newer version.
Regards,
Martin
> Anders,
>
> I have a form on an internal website. Since users are already logged
> into the network, I did not want to ask them to login to this webpage,
> seemed a bit redundant. I use Guenter's script to determine who they
> are when they access the form.
>
> Regards,
> Ken
>
> Novell....it does a server good!
| |
| spravce@gymhu.cz 2007-04-09, 1:11 pm |
| Ken,
I tried Guenter's nwwhoami.php script, but I have problem with
php2ucs.nlm. I obtained this warning on the error.log:
--------------------------------------------------------------
[09-Apr-2007 18:38:41] php Warning: php Startup: : Unable to initialize
module
Module compiled with module API=20041030, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
--------------------------------------------------------------
---> and php2ucs.nlm is not loaded.
I have php 5.2.1, but php2ucs.nlm is 5.0.5. It's perhaps cause
problem...? I didn't find newer version.
Regards,
Martin
> Anders,
>
> I have a form on an internal website. Since users are already logged
> into the network, I did not want to ask them to login to this webpage,
> seemed a bit redundant. I use Guenter's script to determine who they
> are when they access the form.
>
> Regards,
> Ken
>
> Novell....it does a server good!
| |
| KeN Etter 2007-04-09, 1:11 pm |
| On Mon, 09 Apr 2007 16:58:39 GMT, spravce@gymhu.cz wrote:
>I have php 5.2.1, but php2ucs.nlm is 5.0.5. It's perhaps cause
>problem...? I didn't find newer version.
Martin,
I'm sorry, I should've warned you about that. You need to have
php2ucs loaded. Unfortunately, the only version currently available
works with php 5.0.x. There is a programmer at Novell who could
provide a 5.2.x version of php2ucs, but he doesn't seem to care too
much. Guenter has been trying to get a response, but it hasn't worked
yet. I'll do some digging and see if I can find out what has happened
with this.
Regards,
Ken
Novell....it does a server good!
|
|
|
|
|