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!

Search results for query: *

  • Users: skosterow
  • Content: Threads
  • Order by date
  1. 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...
  2. 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.
  3. 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...
  4. 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 =~...
  5. 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)...
  6. skosterow

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

    okay guys and gals - im trying to write a little script that will help me write other scripts ----> (BTW Ill post the completed script here for others to use as well) Here is the prob im facing: 1 im trying to access a MySQL database - using perl - mysqlpp. here is the code...
  7. skosterow

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

    okay guys and gals - im trying to write a little script that will help me write other scripts ----> (BTW Ill post the completed script here for others to use as well) Here is the prob im facing: 1 im trying to access a MySQL database - using perl - mysqlpp. here is the code...
  8. skosterow

    IIS 6 not printing perl errors to browser

    HELP! IIS 6 on windows 2003 is NOT printing errors to the browser.... Anyone else have this problem? - Scott Wise men ask questions, only fools keep quite.
  9. skosterow

    PERLSVC Help

    I have purchased the PERL DEV Kit. And i have successfully created a Service. However here is the problem when i install the service it dosnt run, actually it wont even install. Here is the code that I am using: ---------------------------------------------------- use strict; use IO::Socket...
  10. skosterow

    IO::SOCKET help

    Greetings from mile high! Im trying to figure out this IO::SOCKET stuff - Here is what im looking to do: Server 1 - Listens on poprt 1117 Server 2 - Send message to Server 1 on port 1117 and awaits a response on port 1117. if Server 1 does not respond Server 2::DO THIS:: if Server 1 does...
  11. skosterow

    Onselect Change another form select

    heres the deal guys and gals - I need alittle help on this and i have looked to no avail. I need to be able to select something from a form selct box. IE - <form action="" method=""> <select name="SELECT1">SELECT1::DATA</select> </form> SELECT1::DATA will be populated by Perl. With...
  12. skosterow

    Port Litening in Perl

    Heya Guys and gals i have been looking for a while now for some type of perl module that will listen on a spcified port - and say if via this i send a command to do something it will execute lines of code on a remote machine. I have the perl dev kit but i dont know what module to use on the...
  13. skosterow

    Perl DB Access Correct Programming Check

    Heya Guys and Gals - Was wondering if the below script was the BEST way to do this - Is there a way to get rid of $counter? my $sth = $dbh->prepare(qq{ SELECT id, term FROM db_bill_terms ORDER BY id }); $sth->execute(); my $counter = 1; while (($DB::ID, $DB::NAME) =...
  14. skosterow

    Connecting Perl to Outlook's Contacts

    Anyone know of a way to connect to Outlooks Contacts viw browser/Perl? Im needing to pull data out of Outlooks contacts and dump it into MySQL. Possibly vis-a-vis. Looking more for the direction to a module vs.- the actuall code. Thanks in Advance! - Scott
  15. skosterow

    Table width......

    Im needing to set a table at a certain size: <table width="100%"> Table Data here </table> However, I dont want the table to go over say 600 px. Is there a way to do that with either HTML or DHTML? Thanks in advance! - Scott
  16. skosterow

    ONCHANGE send selected data to IFRAME

    Heya all - Im trying to send a selected value from one form to another form witch then passes this to a IFRAME. Here is the code I have: <select name="NEW::PAREFPHYS" class="form" style="width:200"...
  17. skosterow

    system() return

    Okay pro a realy stupid question.... i looked through the perl stuff here and on activestate but cant seem to find what im looking for. im trying to run a system command, via a web browser: $command = &quot;ping 127.0.0.1&quot;; system($command); then i want the return of this command...
  18. skosterow

    onclick display image cordinets

    Greetings All, I have an image thats 200 x 400. Im kinda new to Javascript, but i need to be able to click in the image, place a dot in that image then save the cordinates where the dot was placed, into mysql. I have the saving to the database down, however, i cant seem to work out the...
  19. skosterow

    Help with SELECT statement

    I am trying to pull data out in a format. Well, heres my code: my $dsn01 = &quot;DBI:mysqlPP:$DB::DATABASE:$DB::SERVER&quot;; my $dbh01 = DBI->connect($dsn01, $DB::REMOTE, $DB::PASS); my $sth01 = $dbh01->prepare(qq{ SELECT id, old_id, firstname, mi, lastname, title FROM utl_rads...
  20. skosterow

    JavaScript Capture 10 Keys

    Hey guys/Gals, Need to capture the 10 key, when NUM LOCK is OFF: here is what i have: <SCRIPT LANGUAGE=&quot;JavaScript&quot;> <!-- Begin var key = new Array(); // Define key launcher pages here key['1'] = &quot;/drs/inq.pl&quot;; key['8'] =...

Part and Inventory Search

Back
Top