User Profile
Collapse
-
Determine OS
I'm working on a website and need to know whether the user is running Mac OSX or not. How can I do this? Ideally, my code would look something like:
Code:if (using osx) { // make slight change }
-
Listing Files in Directory
I'm writing a C# Web application which needs to get a list of the pages on the server. I've tried using:
Code:DirectoryInfo di = new DirectoryInfo("http://localhost"); FileInfo[] fi = di.GetFiles("*.aspx", SearchOption.AllDirectories);
Thanks in advance. -
Thanks for the reply.
However, when I tried it it said that it couldn't call method "valueof" on an unblessed reference. Does this mean that I have to create some sort of object class?Leave a comment:
-
Code:my $returned = $server ->call(SOAP::Data->name('RetrieveMessageReportDetails')->attr({xmlns => 'https://www.onecallnow.com/WebService/'}) => SOAP::Data->name('LoginToken')->value($loginToken)->type('s:string'), SOAP::Data->name('MessageID')->value($messageID)->type('s:int'), SOAP::Data->name('PageNumber')->value($pageNumber)->type('s:int') );
Leave a comment:
-
SOAP::Lite XML hash
I'm attempting to write an application using SOAP::Lite that receives XML code from a WebService. The XML code should look like the following:
Code:<Message MessageID="12345" PageNumber="1" PageCount="1" MinRecord="1" MaxRecord="123"> <Deliveries> <Delivery Attempts="1" CallCreditsUsed="1.00"> <DeliveryStatus>Delivered
-
I've tried a number of things. Among them are:
Code:@array = vec($string, 0, 64);
Code:@array = pack('q', $string);
Leave a comment:
-
64-bit string
I'm trying to use a SOAP Lite web service. In one of the function calls, a parameter must be a string converted to a 64-bit binary array. I can't seem to convert the string.
No activity results to display
Show More
Leave a comment: