Author Topic: Server Status Script For Websites.  (Read 4446 times)

Smokey

  • Autococker
  • Posts: 1172
Re: Server Status Script For Websites.
« Reply #20 on: July 11, 2007, 11:57:36 AM »
By the way, never include() an external URL in PHP. It will actually execute any PHP code on that page, and you obviously can realize the risk if the server maintainer turns evil or the server is hacked.

file_get_contents() is the way to go (or fsockopen(), feof(), fread(), fclose() if your version of PHP is that old).
Thats what i meant, file_get_contents()
Thanks! :)