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 IamaSherpa 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: *

  1. jimmyJIMMYyaya

    passing html form values

    ok i have two fields in my html document 1) txtSearchString 2) cboSearchType now i want to use $ENV{'QUERRY_STRING'}; to get the values but what i need to know is how to pass the values on submit ie <form action=&quot;cgi-bin/search.pl?txtSearchString&cboSearchType&quot...
  2. jimmyJIMMYyaya

    passing variables to a script

    sorry forgot to mention that im trying to send this variable back to the same script
  3. jimmyJIMMYyaya

    passing variables to a script

    hey can someone tell me how to pass a variable to a cgi script i tried www.whatever.com/script.pl?variable but the script isn't recognizing it? thanks
  4. jimmyJIMMYyaya

    Sorting an array

    this is a numerical sort @sorted = sort { ( $a ) <=> ( $b ) } @unsorted; this is a alphabetical sort @sorted = sort { lc( $a ) cmp lc( $b ) } @unsorted; hope this helps ya
  5. jimmyJIMMYyaya

    batch files

    im using batch files to get the time with milliseconds if you know how to do this with perl then by all means please explain it. :)
  6. jimmyJIMMYyaya

    batch files

    hey all heres the prob sub initialize { system( &quot;startTime.bat&quot; ); print &quot;Content-type:....&quot;; } sub process { do something.... } sub terminate { system( &quot;endTime.bat&quot; ); do something; } -ok the first batch program i call works perfectly. -the last...
  7. jimmyJIMMYyaya

    batch files

    heres what happens sub initialize { system( &quot;startTime.bat&quot; ); print &quot;Content-type: text/html\n\n&quot;; } sub process { do some calculations } sub terminiate { system( &quot;endTime.bat&quot; ); final processes.... } the first time i call the statTime.bat batch file...
  8. jimmyJIMMYyaya

    batch files

    how do i run batch files with perl right now i tried system( &quot;time.bat&quot; ); and i only works once i wont run the batch file a second time? any clue why? thanks
  9. jimmyJIMMYyaya

    Need milliseconds

    hey all im in need of obtaining milliseconds. is there perl function for this? i have a search script that has three subroutines. 1) initialize 2) process 3) terminate in initialize i want to get the current milliseconds of the current time in the terminiate i want to get the current...
  10. jimmyJIMMYyaya

    formatting numbers

    ok heres the prob i have the size of a file stored in $filesize. it return the size in kb so i wanted to add the thousands separator to the $filesize ( e.g. 2,345). how do i go about doing this? any help is greatly appreciated
  11. jimmyJIMMYyaya

    Obtaining a files size on win32

    hey all i figured out my filesize problem when i opened the directory for reading i never changed into the directory first so it was assigning 0 to every filesize. So when i used the chdir( &quot;dir&quot; ); command it finally returned the filesize thanks for all of your help :)
  12. jimmyJIMMYyaya

    Obtaining a files size on win32

    ok this still isn't working? what im doing is reading a directory into @dirData then i perform a foreach loop assigning each item to $file. so in my foreach loop i just added if ( -f $file ) { $fileSize = (stat($file))[7]; } and then i try printing $fileSize in my html response but nothing...
  13. jimmyJIMMYyaya

    Obtaining a files size on win32

    Hey all Im trying to get a files size but here the prob im having i have a foreach loop like so which i was hoping would return a files size but no go. foreach $file (@array) { @stat = (stat($file))[7]; } how can i get a files size on win32 thanks for anyones help in advance jimmyJIMMYyaya

Part and Inventory Search

Back
Top