Re: pass variable from vbscript to php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 suggestion will not work. Is this in fact the case or is there another way around this?

Ashley


Jason Barnett wrote:
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 connecting to the Intranet.



OK.


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.



<sarcasm>Apparently it's not impossible to do this without prompting for
the username / password then eh?</sarcasm>

ActiveX controls are in the COM family.  If you don't know about COM
then you can start by looking here:
http://www.microsoft.com/com/default.mspx

Now... when you find the list of commands / variables that you will need
from the ActiveX container then you can make those calls with PHP.  The
relevant part of the PHP manual is:
http://php.net/manual/en/ref.com.php

P.S. this sounds pretty interesting.  I (and probably others) would
appreciate it if you would post back to the list with a [SOLVED]
response that shows PHP code you used to get this working.

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux