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 wOOdy-Soft 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 skosterow

  1. skosterow

    Check for numeric value in Variable

    Okay here we are the battle of the regexp! ;-) thanks ishnid! Wise men ask questions, only fools keep quite.
  2. skosterow

    Check for numeric value in Variable

    Thanks again Varakal! Wise men ask questions, only fools keep quite.
  3. skosterow

    Check for numeric value in Variable

    Thanks varakal - BTW do you know of something i can learn about what is going on in that code? I appreshiate the answer however KUDOS!!! - Scott Wise men ask questions, only fools keep quite.
  4. skosterow

    Check for numeric value in Variable

    Okay NOT asking for the code asking for direction. I need to check and see if a variable has a numaric value or a char value. IE - $val1 = "2345b"; if ($val1 is all numaric) { do this.... } else { do this... } in this instance the else would be executed because $val1 has a 'b' in it...
  5. skosterow

    Perl Upload - Change File Name

    KevinADC - thanks for pointing me in the right direction!!!! here is the finished code for anyone that ever searches this FAQ! if ($QUESTION::IMAGE ne '') { my $filename = $query->param('QUESTION-IMAGE'); my $upload_dir = "images/senario"; $filename =~...
  6. skosterow

    drag and drop disable a div

    cathiec, Im looking to do something simular to this except it would be with images. IE you have an image as a base: IMAGE01.gif and on that image there are 1 to 3 different places that the user can place a drag and drop image.... these being marked as placement_a, placement_b, placement_c...
  7. skosterow

    Test Connection speed when user hits site

    Rieekan, Good idea if i knew how - im setting up for classes for FLASH MX Pro now - and i knew that you could do a small preloader - but then im still at the same place. There would have to be a selector for reg HTML. - Scott Wise men ask questions, only fools keep quite.
  8. skosterow

    Test Connection speed when user hits site

    Paul - Thanks bud! Thats what i currently have - I know how to test for browser type with the $ENV{BROWSER} but speed is the concern - the guy that wrote the flash for the site left - and ofcourse its S-L-O-W loading on low speed connections - we want to get rid of the front page that says go...
  9. skosterow

    Test Connection speed when user hits site

    Is it possible to test the inbound user connection speed? Then say: if ($connection_speed <= 26.6) { # do somthing } elsif ($connection_speed <= 56.6) { # do somthing } else { # do somthing } Wise men ask questions, only fools keep quite.
  10. skosterow

    Perl Upload - Change File Name

    Okay along the same lines - as mu last question. Now i need to change the file name upon UPLOAD. for example: if the file name the user selects in the form tag QUESTION-IMAGE is say example01.gif - while using the following code: I need to rename the file upon upload to: $NEW::FILENAME...
  11. skosterow

    Perl Upload

    perluserpengo - kewl beans thanks guys! - Scott Wise men ask questions, only fools keep quite.
  12. skosterow

    Perl Upload

    Thank you duncdude! That was it!!!!!! One question - when i want to do txt files then i use the first way and thats that right? - Scott Wise men ask questions, only fools keep quite.
  13. skosterow

    Perl Upload

    Okay I think I'm a dorkis - but here goes - I have been searching for a way to upload Binnary stuff IE gifs and jpegs to my server via perl - here is the code that im using: use CGI; $upload_dir = "/uploads"; $query = new CGI; $filename = $query->param('upload_file'); $filename =~...
  14. skosterow

    Select from MySQL - Into Array

    I am trying to use a select statement from a MySQL DB using perl - I need to place the retreived data into an array - IE @db_data. Here is the code that I am currently using: my $dsn = "DBI:mysqlPP:nn_work_orders:$DB::SERVER"; my $dbh = DBI->connect($dsn, $DB::USER, $DB::PASS)...
  15. skosterow

    SHOW COLUMNS FROM table name PERL--&gt;MySQL

    Waiterm, Thanks!!! Sorry it took me so long to look at this post i have been dealing with a few things. I am going to be looking into this and yes that makes ALOT of sense! I know that the way that im writting some of this code is the long way! And i appreshiate any and all help! - Scott...

Part and Inventory Search

Back
Top