Another way you can get around passing info to the
server is to use hidden fields and make the entire
page into a form with each link in turn submitting the
form to the target script. You avoid putting
sensitive info into the address bar and you can take
advantage of header encryption if you need
Please address replies to the list
--- Rory Browne [EMAIL PROTECTED] wrote:
I'm not sure how you'd go about this from a security
point of view,
but perhaps for an Intranet, you could, check their
IP address from
$_SERVER['REMOTE_ADDR'], and check your login server
to see who is
logged in
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
Ashley wrote:
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
Just so that I don't start working in the wrong direction, do you mean
that I can get the same information from the activeX control directly
from PHP rather than having to do it with vbscript?
I am not much of a coder so any help porting the vbscript to PHP would
be great. The code that I am
Ok, I did a quick scan of the COM section on PHP's site (linked below)
and found this requirement:
COM functions are only available for the Windows version of PHP.
In my first post, I mentioned that I am running my webserver on a
Netware 6.5 server.
In light of this I am guessing that this
Ashley wrote:
Just so that I don't start working in the wrong direction, do you mean
that I can get the same information from the activeX control directly
from PHP rather than having to do it with vbscript?
Yes, that is exactly what I mean.
I am not much of a coder so any help porting the
One way you can do it is to put an invisible iframe on the same page as
the object which provides you the user information. When you get, via
vbscript or javascript, the userid, then you set the src property of the
iframe to that of a page where you will process that info, appended with
the
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.
You have not mentioned what network you are running. IF it is a
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
Ashley mailto:[EMAIL PROTECTED]
on Friday, April 01, 2005 2:32 PM said:
I have a unique problem that may be able to be solved another way,
but I don't know how.
Another way? What's the first way? :|
What I need to do is pass a variable from a vbscript into php for use.
I am using
11 matches
Mail list logo