Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Supra
  • Order by date
  1. Supra

    Loading XML with LWP

    Nevermind, I figured out that you need to pass in a suitable useragent, otherwise you're not given the pretty XML ;)
  2. Supra

    Loading XML with LWP

    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...
  3. Supra

    Parsing a string with RegExp

    Giving a star because it works, but isn't there any way to do in a single shot? Seems like there should be.
  4. Supra

    Parsing a string with RegExp

    I'm going insane trying to figure out why this RegExp is cutting my string in half. The purpose of the pattern is to replace any "tags" within a "%%string%%" tag. var data = '"%%string%%hello %%number%%1%%%end%%% and hello %%number%%2%%%end%%%.%%%end%%%"'; var pattern =...
  5. Supra

    RC4 is pissing me off.

    FINALLY I figured it out, and by myself! When I took the garbled text and viewed it in the built-in Hex editor in Notepad++, I noticed that 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...
  6. Supra

    RC4 is pissing me off.

    Ok I lied. I need help. I found some shorter, seemingly cleaner code. sub RC4 { my $x = 0; my $y = 0; my $key = shift; my @k = unpack( 'C*', $key ); my @s = 0..255; for ($x = 0; $x != 256; $x++) { $y = ( $k[$x % @k] + $s[$x] + $y ) % 256; @s[$x, $y] = @s[$y, $x]; } $x = $y =...
  7. Supra

    RC4 is pissing me off.

    fishiface: I used the Crypt::RC4 code already. Someone else had already stripped it from the module, so I used their code. It produced the same garbled text as above. prex1: Thanks a lot for explaining why it didn't work. That's invaluable to me because I'd rather learn than copy & paste...
  8. Supra

    RC4 is pissing me off.

    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...
  9. Supra

    Finding a way to play Scorched3d :)

    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...
  10. Supra

    Finding a way to play Scorched3d :)

    Hi folks, I am staying at a hotel that provides free wireless internet access. I thought I'd play some Scorched3d while I have absolutely nothing better to do, but to my dismay, my wireless connection appears to be blocking UDP packets, as I can play WoW just fine (TCP-based) but the UDP-based...
  11. Supra

    Getting 400 Bad Request from a script that worked YESTERDAY

    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!
  12. Supra

    Getting 400 Bad Request from a script that worked YESTERDAY

    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...
  13. Supra

    Custom loader not working ;(

    Well the issue was indeed the way I was checking how much of the movie was loaded. Using the suggested _root.getBytesLoaded() and _root.getBytesTotal(), it works perfectly. Here's the end result: ifFrameLoaded(120) { //gotoAndPlay(4); } var loaded =...
  14. Supra

    Custom loader not working ;(

    I'm starting to get really pissed with this one! I have some simple code I wrote to determine what percentage of my Flash movie is loaded, and all I want to do is display a little progress bar, but for some reason it's not working. Neither the progress bar nor the text box displayed above it...
  15. Supra

    Loading XML from a different server?

    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 =...
  16. Supra

    Outlook is making things sort of &quot;faux bold&quot;

    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...
  17. Supra

    Bad Memory?

    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...
  18. Supra

    Recovering Data From a DEAD Hard Drive

    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!!
  19. Supra

    Recovering Data From a DEAD Hard Drive

    Ouch! I don't think the data is worth that much ;) Well I did some research and came across http://www.deadharddrive.com 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...
  20. Supra

    Recovering Data From a DEAD Hard Drive

    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...

Part and Inventory Search

Back
Top