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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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 =...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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 =...
  8. 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...
  9. Supra

    Recovering Data From a DEAD Hard Drive

    Hey guys, My HDD has been clicking a lot recently, and today it finally gave out. Moving the drive slightly would cause it to spin up and down furiously, and I actually had it to the point where it attempted to load Windows, but froze shortly after. I know it's the HDD because it's been on...
  10. Supra

    Bad Memory?

    Hey folks, A friend's machine recently became very, very slow, and she says all she did was delete a few unneeded programs. I immediately assumed she may have deleted the folder(s) rather than use Add/Remove Programs in the Control Panel, so I swapped out her drive and put in a working spare...
  11. Supra

    Explain this code?

    Hey folks, I modified someone else's code which converted a decimal to hex so that it would convert a string to one which a web browser can understand - IE: A space is %20. Anyway, a couple bits of just 2 lines of the code I borrowed I do not understand. They are highlighted in red below...
  12. Supra

    Connecting to my own machine

    Hi folks, I'm trying to connect to my own machine from my own server, and I'm not having much luck. I wrote a simple program to monitor connection requests and a simple Perl script to attempt to connect to it using both LWP::UserAgent and IO::Socket::INET, but neither worked. I have my router...
  13. Supra

    Embedding a Movie

    Hi folks, This question has been asked plenty of times, however I couldn't find the information I needed when I searched. Basically, I want a cross-browser embedded movie with support at least for IE and FireFox. The catch is, I'd like to have the movie paused at the first frame. So instead...
  14. Supra

    2-Way Encryption

    I recently developed a 2-way encryption method to use on my website. I ported the method over to Perl and it seems to work well, however it was my first attempt at encryption with no prior experience whatsoever, so I'm a little sketchy about using it to protect passwords of my members. The...
  15. Supra

    .htaccess n00b

    Hey folks, what I've done is used .htaccess in my root folder to specify the following: DirectoryIndex index.pl ErrorDocument 403 http://www.something.com/error.pl?403 ErrorDocument 404 http://www.something.com/error.pl?404 ErrorDocument 500 http://www.something.com/error.pl?500 Options...
  16. Supra

    Help with expressions

    This should be simple for the more advanced Perl users, but I need to write an expression that removes all characters from a string except letters, numbers and underscores. Could someone give an example of how this would be done? Also, could you explain exactly what's going on so I can learn...
  17. Supra

    Newbie Cookies Question

    As I understand it, if I use the following header.. Content-Type: text/html Set-Cookie: Username=Justin; Set-Cookie: Password=Password2; ..those cookies should remain until I close the browser since I didn't set an expiration date. So correct me if I'm wrong, but shouldn't navigating to a...
  18. Supra

    Newbie database help

    I am EXTREMELY new to SQL, so please bear with me. This is the code I have.. # Go through database and look for this email $driver = DBI->install_driver("mysql"); $dsn = "DBI:mysql:database=TEST;host=mysql127.secureserver.net"; $db = DBI->connect($dsn,"USER1","PASSWORD1"); my $query =...
  19. Supra

    Is there a wireless adapter for USB devices?

    Basically what I want to do is hook up a USB device and have it be wireless. Let's take the Microsoft fingerprint scanner for instance. For the sake of example, let's say I wanted to mount the fingerprint scanner outside of my apartment door. Well, my computer is in the bedroom, so I'd need...
  20. Supra

    Sendmail not working with &quot;To:&quot; specified?

    This is weird - I am writing an incredibly simple Perl script (with absolutely NO taint checking) and it is not cooperating when I have "To: blah@blah.com" specified. Here's what I have: open(MAIL,"|/usr/sbin/sendmail"); print MAIL "To: blah@blah.com\n"; print MAIL "From: anon\n"...

Part and Inventory Search

Back
Top