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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Siberdude

  1. Siberdude

    Drive X is using an MS-DOS compatibility mode file system

    *smiles* Aye my board supports up to 1.5gb of 133 ddr ram. Thanks for the reply though. Anyone else? Quick update: have re-installed windoews to no avail, nasty floppy drive is still runnning in ms-dos compatability mode. Siberdude siberdude@settlers.co.uk http://settlers.co.uk
  2. Siberdude

    Drive X is using an MS-DOS compatibility mode file system

    Help! recentrly obtained 1024mb of dimm ddr 133 ram in the form of two 512 chips, Great! installed them both, alongside a 128 i already had, the 128 is only 100 though. It caused windows to lockup at the second splash screen (the bottom bar froze) so i switched off, took out the 128, thinking it...
  3. Siberdude

    More on sorting

    Can anyone tell me if this: $sortby[200110241052] = $stuff[0]; $sortby[200110240935] = $stuff[1]; $sortby[200110252342] = $stuff[2]; foreach ($sortby, $i++) { print &quot;<tr><td>$sortby[$i]</td></tr>&quot;; } would work? would i get a million and one <td>'s? or would it only enter the loop...
  4. Siberdude

    An error on my script... :(

    Sounds like a for or while loop going haywire :P been there and played this game before. Make sure if you have a loop that waits until a certern limit is reached, you have a last; in there too to kill it off. This happens a lot when using multiple jumps with for loops, and with whiles. Major...
  5. Siberdude

    Alphabetical Sorts

    Any way to sort them with out hacing to turn them into seconds first? I'm not the server admin, so i can't install any modules. While this is a big pain in the ass, it forces me to do things the hard way and i learn more. bassivally i want to be able to chronologically sort an array containing...
  6. Siberdude

    Alphabetical Sorts

    Hi. I have an array containing dates and times. I want to sort them out, and place them in array in order (so the newest date is in slot0, and the oldest at the other end). I then want to use the date with another string from another array, containing related data and print this out in table...
  7. Siberdude

    How can I do a user login?

    after answering this several times. i thought it would be easier to write a quick FAQ for it. it asumes the login form names the login field userid and the password field pass, and that your using flatfile database, with the users user name as the filename. #!/usr/local/bin/perl #this line...
  8. Siberdude

    nasty Newlines

    Howdy all. I just moved from a IIS box to a unix one. i used to be able to deal with newlines with: $mevar =~ /\n//gi; but on the unix box this doesn't work! the \n char coems up as a square box and i can't for the life of me figure how to get rid of the bloody thing, so i can then use the...
  9. Siberdude

    Script file gets downloaded??

    make sure in your script you have the line: print &quot;content-type: text/html\n\n&quot;; close to the top. this tells the brpwser what kind of file to expect from the script, i'm assuming here your going to be printing out html to a web browser? hope this helps Sib Siberdude...
  10. Siberdude

    question

    As far as i can see there, the only problem is your appending the file, not writing to it, so its adding to what was already in the file. Having worked on a IIS server for the most part of my time, i never used flock or chmod, why are you using them here? you can write to your own dat files...
  11. Siberdude

    e-mail address verification

    Sure.. theortically, you send a test mail to the server, and act on the response.. if the mail is unreachable, or returned you should get an error message, i think (bare with me here.. not used perl to send mail recently) Myabe this will provoke someone bettered qualified into thought? Hope...
  12. Siberdude

    Server side screen resolution detection ?

    Of course it can be done :) a little javascript, that is triggerd on the form &quot;submit&quot; don't actually use a submit button, use a normal button: <button onclick=&quot;doScreen_Submit()&quot;>Submit</button> <input name=&quot;screenW&quot; type=hidden> <input name=&quot;screenH&quot...
  13. Siberdude

    Recommended data file size..?

    As far as i can tell, it doesn't read the file when appending or writing, just checks where the end is (when appending) and writes to there. i've writtern a perl message board, and iuse append to add replies to posts, sometimes, on hot topics, these data files ceanget ot be 1000+ lines.. and it...
  14. Siberdude

    removing items from an array

    to be honest... i don't have the foggiest.. but when you find a good way of doing this I'll be very interested to read this thread. I'm going to need to do exactly this in the not too distant furture (editing dat files for a perl based message board - big eek) thanks :-) Sib Siberdude...
  15. Siberdude

    Sending Form to Printer with Submit Button

    Don't you lay out the form as plain text? e.g.: <body document.print> Name: Joe Bloggs Age: 67 Location: South West Mongolia Intrests: Pizzas </body> if this is the case, yes thats the way to do it. As far as i know theres no cgi command to do it. if your needing to print the current...

Part and Inventory Search

Back
Top