You are here: Re: [PHP] pass variable from vbscript to php « PHP « IT news, forums, messages
Re: [PHP] pass variable from vbscript to php

Posted by Ashley on 04/04/05 15:48

Ok, apparently I wasn't clear enough with my explanation due to the
responses I have received.

I have a webserver (not on the same computer as the users) that is
hosting an Intranet app. I want to obtain the username of the current
person logged into the workstation that is connecting to the Intranet.

From what I have read this is impossible to accomplish from the server
without prompting for a username/password. I found an activeX control
(called NWSess from Novell) that will provide the currently logged in user.

The problem is that I need to take this variable (provided by the
activeX control to a vbscript) and pass it to PHP so that it can be
used. I don't typically use vbscript so I would really like to put the
variable in PHP so that I can use it for other things.

I hope this explains what I am trying to accomplish a little better and
thank you for the responses thus far.

Ashley


Burhan Khalid wrote:
> Ashley wrote:
>
>> I have a unique problem that may be able to be solved another way, but
>> I don't know how.
>>
>> What I need to do is pass a variable from a vbscript into php for use.
>>
>> I am using vbscript to access an activeX control on the computer that
>> grabs the currently logged in user. This works fine, but I cannot
>> determine how I can get that value into php so that I can use it.
>
>
> If PHP is running on the same computer that the user is logged into,
> then you can use $_SERVER['REMOTE_USER'] to get the current logged in user.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация