![]() |
php script...
just need simple script to check domains if they're working... like adding let's say 50 domains and when I execute php file it will check if they're loading or dead... thanks
|
If you are looking to invest a few bucks for this technology, hit me up, icq: 33375924
|
Quote:
|
This is a quick crude method but it should do it, let me know if it works (don't pay someone for <10 lines of code) ;)
Just set the list of URLS in the urls variable. Code:
<?php |
/edit. you only wanted to test sites not server, this script tests the server probly not what you wanted.
Freeware SERVER_ONLINE_TEST PHP script - Check status (online/offline) of the chosen web server(s). http://www.adamek.biz/server_online_test/ . |
Quote:
Ok, please send me $1.60 - because that's what writing that code above would be at my hourly rate. so much for a webmaster forum :upsidedow |
Quote:
5 bucks |
xMarkPro will do that. Bit more than $5 though. Also allows you to specify a small phase for each domain, and it ensures that phrase shows up on the home page. Helps prevent against server errors, hosting account suspensions, etc.
|
Quote:
|
Quote:
|
Quote:
|
Here is a simple Perl script tutorial: http://perl.about.com/od/appliedprog...icemonitor.htm
Maybe, that would work better in your situation ... To get your server's PHP version; in SSH or terminal: Quote:
PHP Code:
|
For a more solid version, you might like our clonebox monitoring system. The simple code posted generally won't alert you to a completely broken page with an error message, for example, or a hacked page.
The sort simple page will also sometimes say that a sure is down when actually everything is ok. Clonebox checks every few minutes and emails you or sends you an SMS if it's down for more than five minutes. Clonebox can even automatically switch to a backup server when the site goes down. |
Quote:
Usually if you're on a shared host and they have you default to php4, you can easily switch to php5 by adding "AddHandler application/x-httpd-php5 .php" to your htaccess file. |
Quote:
|
Quote:
|
coders lol
|
All times are GMT -7. The time now is 04:07 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc