Fixman
July 21st, 2009, 08:18 PM
I have a no-ip account that points to my computer, and works perfectly. Of course, it doesn't work when my computer is off, so my idea was to do a PHP script (hosted somewhere else) to check if my no-ip page was up, and then redirect to it, else show me a few files I have backed up in that other host.
It works smoothly, but the only problem is that I use fsockopen() to check if my no-ip page is up, and if it fails it prints an ugly big warning message.
Is there any way to not show some warning message in PHP? I googled some time for it and didn't find anything.
By the way, if you want to check it my page (in the other server) is http://martinfixman.com.ar, and I currently stopped my apache connection (so the no-ip account will be down).
It works smoothly, but the only problem is that I use fsockopen() to check if my no-ip page is up, and if it fails it prints an ugly big warning message.
Is there any way to not show some warning message in PHP? I googled some time for it and didn't find anything.
By the way, if you want to check it my page (in the other server) is http://martinfixman.com.ar, and I currently stopped my apache connection (so the no-ip account will be down).