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 Mike Lewis 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. symbiotic

    Silly newb Regex question

    Thanks very much, Barbie. If you don't mind, I have a few further questions. The list returned from /(xyz)/g is an array, correct? Does that mean that whenever you load an array into a scalar variable, such as my $count = ($string =~ /(xyz)/g); the number of indices of the array is returned...
  2. symbiotic

    perl and md5 module

    I'm not sure, but I think the module you need is called Digest-MD5. The latest version is 2.24 and can be obtained here http://www.cpan.org/authors/id/G/GA/GAAS/ Thats unusual though, I think most standard perl packages have that module pre-installed. Maybe their server is really old, or they...
  3. symbiotic

    Silly newb Regex question

    Hey all, I ran into something with regular expressions that I can't figure out how to do. I've looked at the online perl regex docs and the O'reilly Llama. Lets say you have a string $string. $string contains N number of /xyz/'s. Is there a way to count the number of /xyz/'s that occur in...
  4. symbiotic

    Writing a script to automatically submit a form to the web

    Thanks for the advice Paul, I actually figured out how to do it using command line browsers (lynx) in a script. Symbiotic
  5. symbiotic

    Writing a script to automatically submit a form to the web

    I want to be able to write a script that will automatically fill in and submit a form to the web. No, I don't want to write it so I can spam boards like this with random meaningless data. The application I actually have in mind is for automating the submission of trades to my online brokerage...
  6. symbiotic

    relaying problems

    Ok I fixed this problem. My hostname was incorrect. I forgot that when I first set it up I had manually changed hostname to my domain name but didn't actually change it in the system configuration
  7. symbiotic

    relaying problems

    Ok, I read the thread a few days back in which RythymAce described how to set up domain realying. I did so exactly as he said, and it worked perfectly. I have access.db and FEATURE(`relay_local_from') in my sendmail.mc. It worked totally smoothly, until I rebooted my server. Now it doesn't...
  8. symbiotic

    copying files to windows machine

    oops, I accidentally posted an update to this in another thread. Please read "Ok, I found another post regarding this" before responding
  9. symbiotic

    Ok, I found an older post regarding

    Ok, I found an older post regarding this issue. using mount -t smbfs -o username //server/share /mnt-point It appears to try really hard to log on, then dies with: "smbfs filesystem not supported by kernel" Which I guess means that my kernel wasn't compiled with some code or...
  10. symbiotic

    copying files to windows machine

    Hi all, I was wondering what the best solution for this is: I have a network with one linux server, running samba, and several windows workstations. The linux box runs a mysql server. I want to create a cron job to back up the database files onto a windows machine. Is there a way to make a...
  11. symbiotic

    Query Strings in PHP

    Hi, I'm trying to figure out what the accepted way of using Query Strings is in PHP. Consider this example: http://www.theserver.com/somepage.php?var1=this&var2=that <?php //code in somepage.php echo $var1; echo &var2; ?> Now, this code will not work if register_globals is Off, as is...
  12. symbiotic

    mail server configuration

    Wow! I just finally fixed this problem, after a week of utter frustration! Ah, the taste of victory! This wonderful feeling of being smarter than a machine, the only reason for having computers as a hobby/occupation. Since I have been switching over to linux, I've been befuddled, confused...
  13. symbiotic

    mail server configuration

    I dunno, my dsl company wanted 20 bucks extra a month to give me a static ip, cable is like 15 bucks less, and it's faster in my area. The cable people said that my ip will be static if I'm using a router and not a direct connection. Although that doesn't really make much sense. Ah well, I'll...
  14. symbiotic

    mail server configuration

    I think bluegroper is right. It may be my ISP. I would contact them, but I'm changing ISPs in a week, anyways, from dsl to cable. I do have a domain name, but it points at a dynamic IP. My IP has been the same for a month, but due to a power outage last night, I have to wait for my DNS...
  15. symbiotic

    Root Access

    yeah dude, too much code, not enough English
  16. symbiotic

    mail server configuration

    RhythmAce - Yes, I have a router as a gateway. My resolv.conf originally pointed to that but I changed it to my ISPs DNSs. I guess I will point it back to the router. I don't think it makes a difference though, I can still contact the outside world. Sleipnir - Yeah I can ping both outside...
  17. symbiotic

    mail server configuration

    I've done that already. Should it be server 1.2.3.4 or nameserver 1.2.3.4 which is what I have it set as. Do I need to do something to reload resolv.conf? I read elsewhere that it reloads immediately when changes are made. Also, if resolve.conf was incorrectly set up, I wouldn't be able to...
  18. symbiotic

    mail server configuration

    ok, so if I don't need bind, how can I fix the original problem I had sending mail?
  19. symbiotic

    mail server configuration

    yes. shouldn't I be? I thought it was necessary to run bind to connect your domain to outside dns's I thought maybe just now I had fixed it. My resolve.conf had totally wrong nameservers in it, but fixing them didn't seem to fix it. Well, restarting named will restart your resolver, no? If...
  20. symbiotic

    mail server configuration

    ok figured out how to do it nslookup set type=MX right? Nope, nothing, shrug, I guess I have to work on configuring bind but it makes no sense, I think it's the most confusing weird thing I've ever tried to do in my life, oh well, I guess I'll gigure it out. I haven't been able to find a...

Part and Inventory Search

Back
Top