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 strongm 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. ability1

    Net::SSH::Perl connection as user

    I installed it as super user. I am finding that ensim pro isn't allowing virtual users to share the root install of cpan installs. However I'm not sure of how to install the cpan on the user directory level
  2. ability1

    Net::SSH::Perl connection as user

    -bash-2.05b$ perl test.pl Can't locate Net/SSH/Perl.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl...
  3. ability1

    Net::SSH::Perl connection as user

    I'm running ensim (not sure if your familiar with it) but ssh is enabled on a user level for this account and we have no issue logging in via ssh through a tradiontal method such as putty.
  4. ability1

    Net::SSH::Perl connection as user

    We've written a simple script to test ssh login via Net::SSH::Perl but we can only get the script to work when being executed as root and not as user. This is the simple script, any help would be very much appreciated. use Net::SSH::Perl; $host = "my.server.com"; $user = "root"; $passwd =...
  5. ability1

    Username and password w/ sessions

    via a browser. To enable clients to log into a unique menu according to password. The menu is no problem, we are a little confused on how to securely create a username and password login page using a time sensitive logout tools like sessions
  6. ability1

    Username and password w/ sessions

    I'm a java nubie and am wondering if someone knows of a thread or could point me in the right direction in regards to creating a secure login in screen using Java and sessions to allow for security.
  7. ability1

    authorize.net response page

    i've made the following lame attempt to create a response page for Authorize.net but it is giving me parsing errors. here is my code to this point. #!/usr/local/bin/perl -w use strict; # $Id: sim.pl,v 1.4 2002/11/21 23:31:53 adama Exp $ # You may want to store this more securely in a...
  8. ability1

    for ($count=1; $count<=32; ++$count) { ..Not working

    They are stored in a flat file because different users edit the flat file and the perl automatically imports the flat file without changing the perl script. I guess I could write an array like @array=($text_e_gallery1,$text_e_gallery2,$text_e_gallery3,$text_e_gallery4,$text_e_gallery5); for...
  9. ability1

    for ($count=1; $count<=32; ++$count) { ..Not working

    yes. All ive been doing is requiring the file then spiting out the scalar values.
  10. ability1

    for ($count=1; $count<=32; ++$count) { ..Not working

    all that did is print out all the data of the flat file like $scalar1='data for this variable';$scalar2='data for this variable';$scalar3='data for this variable';$scalar4='data for this variable';$scalar1='data for this variable';$scalar5='data for this variable';$scalar6='data for this...
  11. ability1

    for ($count=1; $count<=32; ++$count) { ..Not working

    I have the following counter for ($count=1; $count<=32; ++$count) { $text = ${'text_e_gallery'.$count}; } I have a flat file that I require that has the follwing scalar values $text_e_gallery1='text blah blahh'; I can print out the values one at a time but when I try to print for each...
  12. ability1

    call existing perl script into new script in different folder?

    Anybody got a suggestion? I could use your wisdom :)
  13. ability1

    call existing perl script into new script in different folder?

    I have a rather lengthy script (wwregistry.pl) that resides in the cgi-bin. It points to flat files in relative terms. (ie require "folder/file.cfg";) I am going to use the same script but outside the cgi-bin. I've already made all the arrangements with .htaccess to execute outside the cgi-bin...
  14. ability1

    foreach print question for multiple pages

    would I use this same context if I wanted next page to be hyperlinks ie(page2, 3, 4) of the results?
  15. ability1

    foreach print question for multiple pages

    if I have a large array how could I set a counter to display x number of results to page 1 next results to page 2 and so on?
  16. ability1

    add value to a number by intervals

    I have a shopping cart that spits out an end shopping value lets call it $grand_total what I want is if $grand_total is less than 500 shipping (lets call it $shipping)is 39.95 and shipping should increase by $10 per $100 that grand_total increases. obviously I could write this to infinity if...
  17. ability1

    help extended regex Sequence \w

    I know \w will match any &quot;word&quot; character (alphanumerics plus &quot;_&quot;). But what would match any &quot;word&quot; character EXCLUDING &quot;_&quot; (the underscore).
  18. ability1

    Foreach print question

    Works perfect! Awesome job thanks for the help it is much appreciated
  19. ability1

    Foreach print question

    I'm trying to print the results from an array Lets use this as an example @p_categories = (info1,info2,info3,info4,info5) foreach $p_category (@p_categories){ print &quot;<tr><td> $p_category </td></tr>&quot;; } Now it's easy to have rows <tr> to simply run to infinity, but how would you...
  20. ability1

    foreach print question

    How would you go about printing the results of foreach of an array, alternating the color of HTML between gray and white for each line. For example foreach $p_category (@p_categories){ print &quot;<tr><td bgcolor=\&quot;gray\&quot;> my results line 1 </td></tr>&quot;; } That's simple enough...

Part and Inventory Search

Back
Top