Does this work for both Windows and Linux?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 February 2005 8:45 AM
To: [email protected]
Subject: Re: [U2] Universe to Web interface
You can use php. You have to use COM...
Example below ...
<html>
<head>
<title>Test Using Object</title>
</head>
<body>
Attempting connect <p>
<?
//
// Create COM object for UV object
//
$objUV = new COM("Universe.Session") or die("Unable to initiate UV
Session");
$objUV->HostName = "machine"; // Universe Host
$objUV->AccountPath = "ACCT"; // Universe Account Name/Path
$objUV->UserName = "user"; // System Login
$objUV->Password = "pwd"; // Password
//
// Let just display it to make sure the object accepted th assignment
//
print ("HostName " . $objUV->HostName . "<br>\n");
print ("Account " . $objUV->AccountPath . "<br>\n");
print ("UV Username " . $objUV->UserName . "<br>\n");
print ("Password " . $objUV->Password . "<br>\n");
//
// Connect to UVRPC service
//
$connect = $objUV->Connect();
$active = $objUV->isactive();
if ($active = true) {
print("Is connected");
} else {
print("Is NOT connected");
}
print (" Session Status [" . $active . "]<br>\n");
$objUV->Command->Text="LIST VOC";
print ("Test Command " . $objUV->Command->Text . "<br>\n");
$sts = $objUV->Command->Exec();
print ("Command Status [" . $sts . "] <br>\n");
$Rsp = $objUV->Command->Response();
print ("Response " . $Rsp . "<br>\n");
$active = $objUV->isactive();
print ("Session Status [" . $active . "]<br>\n");
$sts = $objUV->disconnect(); // Close UVRPC connection
$active = $objUV->isactive;
print ("Session Status [" . $active . "]<br>\n");
?>
</body>
</html>
Vance
----- Original Message -----
From: "Dave Walker" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 09, 2005 3:53 PM
Subject: RE: [U2] Universe to Web interface
> Wouldn't a php interface to U2 be nice? Then we could have LAUP instead of
> LAMP. Or some such.
>
> Python would be gravy too.
>
> --
> Dave Walker
> 8..7 4(()) -:&:-
> -:&:- 8.74 .74(())
> ((88.74 ..74 -:&:-
> ((88.74 * Peace
>
>
>
> > -----Original Message-----
> > From: CDMI [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 09, 2005 2:27 PM
> > To: [email protected]
> > Subject: RE: [U2] Universe to Web interface
> >
> >
> > Will - this is what 'web servers' do.
> > Good ones that are integrated with multivalue (that I know
> > of) are typically
> > not free.
> >
> > Steve T
> > [EMAIL PROTECTED]
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > [EMAIL PROTECTED]
> > Sent: Wednesday, February 09, 2005 12:30 PM
> > To: [email protected]
> > Subject: Re: [U2] Universe to Web interface
> >
> > In a message dated 2/9/2005 5:34:48 AM Pacific Standard Time,
> > [EMAIL PROTECTED] writes:
> >
> > > I still don't get why you want to use a BAT file to do this at all.
> > > IF you're using IIS, you should really be using ASP.
> >
> > I don't.
> > Here is what I want "From a web page, click on something, which in ANY
> > fashion reaches into Universe and displays the results on
> > that web page."
> >
> > Focusing on the ANY fashion, any way, any how, any method,
> > with example
> > code please so I don't go insane trying to follow the
> > hand-waving. And
> > preferable I'm looking for the absolutely simplest manner of
> > doing this.
> > And the free way too ... btw.
> >
> > PS thanks for those of you who sent various examples of doing this.
> > Will
> > -------
> > u2-users mailing list
> > [email protected]
> > To unsubscribe please visit http://listserver.u2ug.org/
> > -------
> > u2-users mailing list
> > [email protected]
> > To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/