Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by matman

  1. What you want is not so much an autoresponder as a mailing list. Luckily for you, the MailMan mailing list software is standard on hosting accounts here. Do you know how to get on CPanel for your account? If so, go to the Email section and click on "Mailing Lists" to get started. For more help in how to use MailMan, check here first: http://www.totalchoicehosting.com/help/id82.htm
  2. I don't think I've ever uploaded even close to 12 files at a time using CPanel. Indeed, if that was your primary method upload and maintain your files it would be a hassle, but for uploading the occasional new image or for doing a quick mid-day update from work that can't wait until you get home to your main web-development machine it is great.
  3. I use the CPanel's File Manager (which is built-in on all TotalChoice accounts) to upload files via HTTP when I'm not on my own PC, mostly to make small changes or updates to a particular file. You can use it to upload files, or you can make changes to HTML or other text files right in your web browser. So the answer to your question is "yes" you can and it's very easy and reasonably powerful.
  4. Basically checkdnsrr lets you do any kind of DNS queries, whereas getmxrr JUST does MX records. If you're doing a very simple "does this domain exist" query then checkdnsrr() works fine. But getmxrr() actually returns the results into an array if you wanted to do deeper checking. Below are two tutorials about how you might do this: Here is a good tutorial on the topic: http://www.devshed.com/c/a/PHP/Email-Addre...ation-with-PHP/ RNMCD already posted this great tutorial on this topic: http://gurusnetwork.com/tutorial/geekspeak/
  5. Point taken. I'll have to check out that tutorial.
  6. Didn't mean that to sound like a smack-down, Dark -- was just voicing a different perspective. As Bill noted above, TCH is indeed continuing to implement patches to v.4 as needed, since this is a much less laborious process than going from 4 to 5. So it's not as if we're not able to get necessary security updates to PHP 4. And, yes, I am eager to start using PHP 5 myself -- but more eager to keep my sites stable and secure at this point.
  7. Yeah, just post to your favorite web forum and ask people for any number between 1 and 40. Human minds are way more random than any computer could ever hope to be.
  8. In Dreamweaver MX and newer, it WILL show any HTML in the include file, but of course dynamic PHP stuff won't show up. Includes are one of the very few PHP things that Dreamweaver does actually read and do something with, at least to show any HTML stuff in the include. I use this feature to create consistent headers, footers, or navigation bars -- all the HTML for these is in a seperate file which is included via PHP into the actual pages; that way I only have to edit one file to update the navigation bar. I prefer this to using Dreamweaver templates, and the navigation bar will show up in design view on Dreamweaver (although you can't edit it without opening up the actual include file).
  9. I assume that the PHP function would cause the server to do a DNS lookup on IT'S OWN default DNS name server. If that server were down/not working it should try the secondary. If they're all down/malfuntioning, then you would not get a response and, yes, registration probably would fail. Whether the registering user's DNS or mail servers are up at the moment would not affect the process at all. Easier way would be to use getmxrr() , which is designed specifically for checking MX records. Be aware that this will only protect you from people trying to give emails from non-existent domains or mis-typed domains. It doesn't give any assurance that the username part of their email is correct. As for worrying about the function disappearing, the tendency in PHP has always been to create more and more and more functions, and to allow old functions to exist for many versions after the decision is made that they should be gotten rid of.
  10. Dark, you cite that the possibility of exploits being found as a reason to consider upgrading to PHP 5. Keep in mind, however, that upgrading to a newer, less widely-used, and less battle-tested program is hardly a security upgrade! That is why they are still rolling out updates to PHP 4.x to deal with newly-discovered security holes without forcing people to upgrade to the latest and greatest.
  11. There's a REALLY good white paper on this topic by the W3C: http://www.w3.org/TR/turingtest/ It doesn't give explicit methods or anything, but discusses the pros and cons of various currently-used and potentially-useable methods. The coolest idea to me is the simple logic/knowledge test: Which of these is not a color: A. green B. squirrel C. orange D. red Would be laborious to implement and create, but accessible. And do you really want comments in your blog from someone whose living room is painted "squirrel"?
  12. To answer the actual question, it would seem that for a one-off web application almost anything would work. Simply requiring any random or semi-random string from the page to be copied into a form field would work unless/until someone wrote a script SPECIFICALLY targetting your page/application that would automatically read and parse the form to craft a specific reply. For that matter, you could automate the process in a hidden form field and that would deter 98% of the vandalism that goes on (since most form spamming/vandalism doesn't even look at unique form instances, just hammers the "action" page with POSTs.) If you want a harder (i.e. more secure) solution, consider implementing IP checking and log the IPs that POSTs come from. Limit a given IP address to 1-3 POSTs every 1-3 minutes. Again, a determined vandal could use a DDOS or IP spoofing to defeat this security measure, but that level of determination is rare.
  13. CAPTCHA is allegedly an acronym for: "Completely Automated Public Turing Test to Tell Computers and Humans Apart" Ugly, yes indeed, but crafted by the compter geniuses at Carnegie Mellon, not for any esthetic appeal. http://www.captcha.net/
  14. I'll add my endorsement for PHP and MySQL Web Development by Welling and Thomson. Great book!
  15. I do the same thing that Soleros was saying, and the address I use for TCH is pretty much the only one I NEVER get spam on. It's not on my domain that's hosted here, since using an email hosted at TCH is useless for corresponding with them when there is a problem with your service here. Anyway, been here almost 2 years now with no spam at that address.
  16. I believe that the albums must be set to "777" -- yes, sounds risky as all get out. Tells you here to set albums to 777: http://gallery.menalto.com/modules.php?op=...ll.unix-ftp.php and here where it says what to change after running the config wizard, no mention of changing that: http://gallery.menalto.com/modules.php?op=...nfig-wizard.php Basically, since non-logged-in (in the UNIX sense) users have to be able to modify the contents of the albums directory and its subordinates, it's got to be 777.
  17. Yeah, but I think she was saying that the permissions ARE set correctly.
  18. Ditched the TV years ago, but I'll be "watching" the news about the Olympics via the Internet.
  19. I am all for consulting with an attorney and using a professionally-prepared contract. However, the above-expressed concerns are the primary reasons that I cited not one but at least a half-dozen pages on the subject that were written by lawyers as advice to creative professionals. Not to mention the US Copyright Office.
  20. For large-scale file upload and storage, you've got to index the files in a database. Store the original filename in the database, but use the autonumber index to name the file you actually store on your webserver. That will GUARANTEE filename uniqueness.
  21. If it's for posting photos on the web, resolution and high-end picture quality are not the keys -- any decent camera will do. I'm a Kodak man. Convenience is key for me, and the deciding factor there (I think) is the batteries. A camera with dead batteries is not good. Whatever you get, make sure it uses regular AA batteries. You can use rechargeables, or just go to WalMart and get the mega-pack of Duracells. Power for your camera will be available at any 7-11. The replacement batteries for the cameras that use special rechargeable batteries cost upward of $100.
  22. Awesome, I'll send a helpdesk ticket to get the same thing done for the other domain having the same problem.
  23. Yes, but I find that AdAware catches some that Spybot will miss as well.
  • Create New...