Hi all,
I'm trying to load an XML file, but the file is being converted to HTML because it uses an XSL. Rather than parse out the HTML returned, I want to see the XML that the XSL is transforming. Is there a way I can get to it?
Example: Load...
...a "%%string%%" tag.
var data = '"%%string%%hello %%number%%1%%%end%%% and hello %%number%%2%%%end%%%.%%%end%%%"';
var pattern = /(?:"%%string%%)((.*?)(%%number%%([0-9])%%%end%%%))+/g;
var result = data.replace(pattern,'"%%string%%$2$4');
Expected Result: "%%string%%hello 1 and hello...
...the hex value was exactly the encrypted value I was looking for. So I knew my 'garbly gook' text was right, but just not in the correct format. A simple Google search led me to find my solution!
my $encrypted = unpack('H*',RC4($key,$str));
Voila it works!
Thanks a ton for all your help!!!!!
...text as previous. I tried various things but to no avail.
Perhaps it would help to note that my key is Hex. I did try using $key = unpack("C*",$key) but I'm a little intermediate with Perl so I'm not sure if that's even correct. Anyway thanks a lot for your time guys. I really do...
Alright, so I'm just trying to get a working version of RC4 encryption for use on my website. I wanted to use Crypt::RC4, but my host is GoDaddy and it's not supported. So I've been ruthlessly scrawling the internet looking for ways, and I came across 3. One was a rip of the Crypt::RC4 module...
Hi Burt!
I actually thought about that, so I did some research and found that they are using LodgeNet's StayOnline wireless service, and the GuestPass Director:
http://www.stayonline.net/PAGE-37-web-based-bandwidth-management.html
I think I found the router's IP, but I get an error from their...
...a list of servers. I've read a few articles here and there on Google, but nothing proved useful enough to solve my problem.
On the plus side, I *CAN* connect to my desktop at home with full control, so is there a way to use it as a tunneler of sorts? That is, can I direct my laptop's...
I just wanted to see if anyone had that happen before, and if they knew offhand maybe why. But an hour after I posted this, it started working again magically. I'm still curious as to why that would happen, but at least it works. Thanks anyway!
Oddly enough, I came home to find that one of my scripts is now broken, and nothing changed. It has been working for literally weeks, and all of a sudden, today it stopped. It's a simple code that gets the source of another webpage and picks what it needs out of it. Now I get a "400 Bad...
...Here's the end result:
ifFrameLoaded(120) {
//gotoAndPlay(4);
}
var loaded = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100);
Gauge._width = loaded * 2.21;
Tip.text = loaded + "%";
//And of course in the 2nd frame, it shoots you back to the first :)
THANK YOU...
...above it are being updated. Here's the code:
ifFrameLoaded(120) {
//gotoAndPlay(4);
}
var loaded = Math.floor((_root._framesloaded / 120) * 100);
_root.ProgBar._width = loaded * 2.21;
_root.TipText.text = loaded + "%";
The progress bar takes the percentage loaded times 2.21 because 221...
Hello!
What I'm trying to do is load an XML file from someone else's server and use the information in that file to display on my website. I wrote the following code which works great on my desktop, but when I upload the file, no go ;(
<script>
<!--
function checkState() {
var mainNode =...
Hello,
Outlook worked fine yesterday but today it's making my text sort of bold. When I actually put the text on bold, it's even bolder. But when I sent the email to someone else and they read it, the text comes up just italic size 12 Georgia font like it should - not bold at all. I am using...
Well I have finally resolved the issue. I tested the PSU and it was fine. I tested different sticks of RAM and it was still slow. So the only thing left to check was the mobo. Well I thought, no way is this thing running slow because of the mobo. So I said screw it and reinstalled XP...
Well no go on the freezer attempt, but I only left it in for an hour, so I plan to do 2 hours tomorrow. Hopefully this works because damn do I want some of that data back!!
...which, likes burtsbees said, talked about switching control boards with the same firmware. However, also as burtsbees said, the drive isn't *completely* dead - just mechanically ;| I also read something about putting the drive into the freezer for a while. Apparently the cold makes the...
Hi felixc,
That's what I was wondering about actually - if someone could get my stuff through other means. It's not even the applications I'm worried about, but rather the source code. I have written tons of applications that are now completely untouchable, and the last time I backed them up...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.