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 feeble

  1. feeble

    2003 OWA password change

    temp00, sorry it's c_campbell@hotpop.com
  2. feeble

    2003 OWA password change

    temp00, can you send me the fix. My address is ccampbell@hotpop.com . I would really apprecoate it.
  3. feeble

    Fetching Network Info

    All right, this is my last post on this issue. This will work: $addr = '172.17.141.1';#Can be any IP address $ip = inet_aton($addr);#Still the key to success $client = gethostbyaddr($ip, AF_INET); # get client name if ($client){print $addr, " : ", $client, "\n";}#For giggles...
  4. feeble

    Fetching Network Info

    ARRRGH, Scratch the last post. It doesn't work. Plust I had inet_ntoa written and gave a def for inet_aton. But, I do believe the problem lies in using one of those methods. I will work awhile longer and see what I find. Sorry for all the wasted space.
  5. feeble

    Fetching Network Info

    Well, after taking a minute after my first post I found the answer in this post: thread219-533839 here is the way you need to do it: $addr = '192.168.1.254'; $ip = inet_ntoa($addr);#<-- This is the key method $hn = gethostbyaddr($ip, AF_INET); From...
  6. feeble

    Fetching Network Info

    This will not work: my $addr = &quot;192.168.1.254&quot;; my $name = gethostbyaddr($addr, AF_INET); I have not quite figured out the problem yet, but it has to do with passing a scalar as a string to gethostbyaddr(). If you were to do the following it would work: my $name =...
  7. feeble

    How Do I remove a specific chracter from the end of a string?

    TIMTOWTDI but there is also TPOLR
  8. feeble

    How Do I remove a specific chracter from the end of a string?

    TIMTOWTDI bu there is also TPOLR
  9. feeble

    How Do I remove a specific chracter from the end of a string?

    about the easiest way would be: #!/usr/bin/perl -w $userInput = &quot;newname &quot;; #added enough spaces @ end to make point $userInput =~ s/\s+$//gi; print &quot;\&quot;$userInput\&quot;&quot;; this will work for no space, a space, or many spaces @ the end of a string. I...
  10. feeble

    Using Arrays for better programming

    Not sure how the file your trying to read in is formatted. but hopefully this code may give your mind a spark to achieve your goal: #!/usr/bin/perl -w open (IN, &quot;<tstfile.txt&quot;) or die &quot;Cannot open file: $&&quot;; @answers = <IN>; foreach $ans (@answers){ chomp($ans); if ($ans...
  11. feeble

    cannot send or recieve mail from internet

    well, just to give an update: i created an mx record, but that did not cure the problem. i could still send mail but not recieve mail. i then created a new virtual server to test it with default settings, and i could send/recieve mail. it seems that on the default server i had set some...
  12. feeble

    cannot send or recieve mail from internet

    Here is what is up i am using dynamic dns and here is the faq pertaining to there service: http://support.dyndns.org/whitepapers/mail.php i have helped many a people out on this site setting up sendmail and apache.
  13. feeble

    cannot send or recieve mail from internet

    i have no mx record and you do not need an mx record.
  14. feeble

    cannot send or recieve mail from internet

    nope, port 25 is open, i can telnet to the port an recieve a reply from the smtp daemon. i have messed with the configuration of the server and now i can send e-mail to people on the internet, but cannot recieve mail from internet users. ah, how i miss linux and sendmail @ this point.
  15. feeble

    cannot send or recieve mail from internet

    i can send and recieve local mail, but cannot recieve/send mail to/from internet users. basic installation, tried to figure out prob, but no go so far. also have dyndns setup, but no mx record <-- since it is not necessary. saw some stuff about the smtp connector, but since this is a soho setup...

Part and Inventory Search

Back
Top