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 17:24

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

 

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

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