Originally posted by Pig
If you are on a hosted server, use the actual server name. Localhost may work, but if they change the configuration to require the actual server name, your scripts will still work.
I agree with the logic behind this, however I disagree with the end result. In my experience, external services are much more likley to change their naming structure for their domains than change localhost.
Which ever way you end up going, it could be the other scenario anyway. I don't think this is going to be a big issue anyway.
Right, I better stop dribbling and get back to work.
Have a good one 🙂