hoodwink.d enhanced
 

juretta.com

Reddot RQL in Perl | June 13, 2005-->

June 13, 2005
use Win32::OLE; # Benutze OLE Extension, um COM-Objekte bekommen zu können

$ObjIO = new Win32::OLE("RedDot4ASP.RdPageData"); # neues COM-Objekt anfordern
$ObjIO->{XmlServerClassName} = "RedDot4Server.XmlServer";

$elt_guid = "xyz"; # Identnr. des Textfeldes in einer bestimmten Seite
$sessionkey = "qN4M8Va604S"; # Identnr. der Session

$xmlSendDoc = "
<IODATA format=\"1\" sessionkey=\"$sessionkey\">
<ELT reddotcacheguid=\"\" 
    action=\"save\" 
    guid=\"$elt_guid\" 
    pageid=\"\" 
    id=\"\" 
    index=\"\" 
    type=\"32\">
[Hier kommt der HTML-Quellcode, URIencoded]
<ELT>
</IODATA>";

$ServerAnswer = $ObjIO->ServerExecuteXml($xmlSendDoc, $sError);

print "RQL Statement: " . $xmlSendDoc . "\n\n";

print "Server Answer: " . $ServerAnswer;
print "\nError:" . $sError . "\n\n";

Diggman

About

juretta.com is the personal workspace of Stefan Saasen. You can send him an email or read more about this site in the „About“ section.

« Previous entry

Subversion cheat sheet
posted over 3 years ago

» Next entry

Order symlink
posted over 3 years ago

Recent comment

On: “Attachr.com: OpenID support added

You need to kill this spam stuff!

posted about 1 year ago by entropie

Look!

Latest links  RSS  

More...