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: FreeBASE
  • Content: Threads
  • Order by date
  1. FreeBASE

    Sorting three arrays

    I have 3 arrays @a = ('a1','a2','a3'); @b = ('b1','b2','b3'); @c = ('c1','c2','c3'); I need to sort the data like: a1 b1 c1 a2 b2 c2 a3 b3 c3 Thanks in advance.. N
  2. FreeBASE

    Sorting the contents of an array, mysql

    Basically I want to sort data returned by an sql query. my $sth = $dbh->prepare(&quot;SELECT Title, Age, name FROM Jobs ORDER BY Title&quot;); while (my ($title, $age, $name) = $sth->fetchrow_array) { print &quot;$title<br>&quot;; } When using &quot;ORDER BY Title&quot; the data returned...
  3. FreeBASE

    Converting a variable to an array

    I am try to convert a $variable list split by spaces EX: 111111 321212 675675 525243 to an array... Anyone??
  4. FreeBASE

    Sorting a list

    Trying to list in order a mixed list of numerical/alpha values EXAMPLE:: 100023A 120334T 123211Z Can this be achieved using the sort function? How? N-
  5. FreeBASE

    Seconds to EPOCH

    Anyone know how to convert EPOCH seconds to a format like 0000-00-00 00:00:00 I have reviewed several modules (Date::Calc, HTTP::Date) and can't seem to find anything that even comes close. The only solution I have found to convert this mess is: my $newtime = scalar localtime($epoch_time)...
  6. FreeBASE

    Descending into a folder and...

    Can anyone help me... Basically I have a folder that contains folders with data. What I am trying to do is descend into each folder (2 levels) and move the contents up (two levels) then conmtinue to the next folder in the list and repeat the same action. Confused??? Example: (BEFORE) MAIN/...
  7. FreeBASE

    Regualr Expressions Help

    How can I format a number like- 5553231123 to (555)323-1123 using regular expressions? Thanks, many times in advance..
  8. FreeBASE

    PARTITONING SCHEME RECOMMENDATIONS

    I have 114 gigs and I want to sep up an dedicated mysql database server.. I am not sure how I should partiton it.. Any recommendations? OS - Linux
  9. FreeBASE

    PARTITIONING RECOMMENDATION

    Basically I have 114 GIGS.. I want to build a dedicated MySql server but an not sure how I should partition the drive. Any suggestions?
  10. FreeBASE

    Passing pre-selected values to a pulldown menu

    Lets say I have a database.. I also have an HTML form to add/edit the database.. If a user already has data in the database then the form should already be filled out with the data on load. This means the text field values, radio button values, and of course pulldown menu's. EXAMPLE:: If the...
  11. FreeBASE

    RE: Passing pre-selected values to a pulldown menu

    basically I have a pre-select value, lets say &quot;AK&quot; I want the pulldown to reflect the value chosen. So if I use the value of &quot;AL&quot; the pulldown will say &quot;Alaska&quot; I have a pulldown menu that looks like this below: <script language=&quot;javascript&quot;> <!--//...
  12. FreeBASE

    Passing values to a selectedIndex

    Basically here is the problem.. I have a Pulldown (selectedIndex) that looks like this. <select name=test> <option value=&quot;AL&quot;>Alabama <option value=&quot;AK&quot;>Alaska <option value=&quot;AS&quot;>Am. Samoa What I a trying to do is pass values from a javascript to the form...
  13. FreeBASE

    Passing a value to a radio button..

    Basically I am trying to define a value within my script and have it select the appropriate radio button.. EXAMPLE: to do this with a text field document.theFormName.textField.value = &quot;My data&quot;; to do this with a selected index field document.theFormName.textField.selectedIndex...
  14. FreeBASE

    Pushing a variable and hash into a subroutine

    Anyone know if this is possible? The situation:: Basically I am trying to push a variable and a hash into a subroutine. Look at the code below. --------------------------------------------------------------------------------------- #!/usr/bin/perl &whatever(&quot;template.tt2&quot...
  15. FreeBASE

    Configuring directories mod_perl

    Hello all, I have a question for ya.. THE SCENARIO:: I have 4 Virtual Hosts (/www/domain1.com, /www/domain2.com, etc, etc) I would like to use the Apache::Registry, but I have more than one directory to configure it to. I know I could just use-- <Files *.cgi> SetHandler perl-script...
  16. FreeBASE

    apache/open_ssl RSA key issues

    Get this error in my ssl_engine_log file.. Here is the scenario, upgraded apache/openssl/modssl and I get this error. Ssl works when I am online, and the certificate seems to go through, but I still get this error. The setup.. I am using a V/D for my ssl domain that is different from my server...
  17. FreeBASE

    Code Sample

    I forgot an example. my $cookie = $query->cookie( -name => 'session', -value => $new_values, -expires => '+1h', -path => '/', doesn't work ---------> -domain => 'domain.com, for subdomains...
  18. FreeBASE

    Netscape 6.2, CGI.PM, setting cookies with subdomains.

    Got a problem here. I am Using the cgi.pm to set and retrieve cookies in Netscape 6.2, works great is all other versions of netscape and every other browser but Netscape 6.2. The problem is I have two subdomains sharing the same cookie. Unfortunatly N6.2 will only recognize the URL the cookie...

Part and Inventory Search

Back
Top