Ok, I figured out part of the first question:
Answer: Locke is an idiot ... I was accessing serverinfo.php from my windows box on the web browser while using SSH to access serverinfo.php from my linux box with the curl statement. So REMOTE_ADDR is the right variable and I now understand why. |
Quote:
ip update client http://www.google.com/search?hl=en&l...rl&btnG=Search Don't have to be written in Perl though. I came across some written in C language, for instance. http://www.novajo.ca/easydns.html A freely avail one written in Perl. Perhaps look at its source code for howto ideas? http://www.dnsexit.com/Direct.sv?cmd=ipClients more of 'em. Which dyn dns service do you subscribe to? as, if ya haven't, ya might check there too. I'd put money on it that differences of how it's done exist as far as the updater from one to another for instance no-ip.com versus dyndns -- I've been wanting a static IP for some time now. But haven't leapt into it, not yet. I'd be curious to hear your experience. Gotta have/subscribe to one of them dyn dns services, right? Like no-ip.com or dyndns or ? I get confused when I go to look at all of their web sites. They range from free on up in price. Free could have ads in some way. Rather than me make all the mistakes -- I'd like to benefit from someone been down that road. Web site helpful on it etc.? Thanks. Alan. |
She is solved and working!
So others can know what I did ... here it is: First I created a script that I called "serverinfo.php" and uploaded that to my static IP server: Code:
<?php Code:
put /var/www/scripts/dynIP.txt htdocs/dynIP.txt Code:
#!/bin/sh and then added: Code:
ln -s /var/www/scripts/serverpop.sh /etc/cron.hourly/serverpop.sh Thanks to everyone that was so much help in pointing me to what I needed to learn! ------------------------------------------------- acummings / Alan ... as to which service I'm subscribed to, I use (as you can see above) PowWeb. Located conveniently at www.powweb.com. They've given us (I'm going to approximate as I don't remember exactly) 1Gb of space, a rediculously large amount of bandwidth to use, about 120 pop email addresses with smtp enabled for another 300 or so. The server can use apache, php, sql, as well as standards now like j and javascript, html/xml, cgi. Unlike the free servers, you're free to do what you like with it (and there's no adds). You can (and we do) have sections up that aren't linked anywhere on your site ... even host multiple sites under the same domain but with separate starting pages. The only thing I've run into so far that I don't like is they don't use sftp ... which would have made my ftp question trivial. But ftp will work fine for the limited amount of file moving I need to do. BTW, they give credit for references, so if you look at this one and decide you like it, mention my domain as a reference and we'll get a couple bucks in our account ;) |
All times are GMT -5. The time now is 05:43 AM. |