Thanks. I never would of though of those. Funny thing is, I retried the
require ("http://domain.com/somefile.php")
again and this time it worked. It's got me scratching my head as to what's going on. I will definatly have to try the other ways though, I'm not sure how long this way will hold up. Maybe somebody was messing with the server configuration at the hosting company or something. Or maybe, more likely knowing me, I forgot the () the first time lol.
Thanks again for the ideas though, most appreceated.
An adendum to what was posted up above.
I just thought you might want to see what you were giving advice on. What's going on is we are looking for people to do articles for our site: weekly, monthly, tutorials, paid courses etc. We have one person who is interested and they wanted an example, so we put together this
http://websitegurus.us/articles/bren...brendgard1.php
Wanting to save heartburn, time etc, not wanting to have to rewrite everything from scratch everytime, we put together a template to copy and paste it into each time.
http://www.websitegurus.us/articles/.../template1.php
The script that helps keep right clicking off is loaded into a file that is called by require(). The advertising on the left is a seperate file also loaded by require(), and the author's info by yet another. It saves time(not to mention disk space) because we don't have to type it all out each time, and we only have to edit one file to change the ads ect.
Not pretty spiffy by the standards of somebody who's a pro at it, but for somebody who has more experience with the infrastructure and hardware than with coding, I thought it was ok. I'm liking PHP more and more lately.
Thanks for the pointers again.