icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Site Status Check

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old July 19th, 2004, 3:18 PM   #10 (permalink)
Hostering?
Excelling Contributor
 
mobius's Avatar
 
Joined in Jan 2004
Lives in New York
Hosted on D41
970 posts
Gave thanks: 0
Thanked 0 times
I was actually looking up scripts like this just before you posted. Thats how most of the ones I saw did it.
__________________
{_DIME.41 Reseller_}

Stay cool.

>> Avatar used with permission from garyzullo.com <<
mobius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 2nd, 2004, 12:38 PM   #11 (permalink)
Registered User
Seasoned Poster
 
Joined in Jun 2003
30 posts
Gave thanks: 0
Thanked 0 times
I've been having problems with fsockopen..it keeps giving me errors.

Click Here for Example

Only code in file

PHP Code:
<?php
   $fp 
fsockopen("ra-specht.com"80$errno$errstr30);
?>
The error given:

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/specht/public_html/sitestatus.php on line 2

Warning: fsockopen(): unable to connect to ra-specht.com:80 in /home/specht/public_html/sitestatus.php on line 2

Note quite sure what to do...this should be trivial and it is not...
specht is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 3rd, 2004, 4:09 AM   #12 (permalink)
L'Awesome Advocate
Super #1
 
Ancyru's Avatar
 
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
That's why you put
Code:
error_reporting 0;
in so that message doesn't come up.

What that error means is that the script can not access the port, which in turns means it is down.
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.
Ancyru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 3rd, 2004, 12:59 PM   #13 (permalink)
Registered User
Seasoned Poster
 
Joined in Jun 2003
30 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by Ancyru
That's why you put
Code:
error_reporting 0;
in so that message doesn't come up.

What that error means is that the script can not access the port, which in turns means it is down.
Think about it..that means my website is DOWN which it is not. All ports fail
HTTP, HTTPS, FTP, SSH, SMTP, POP, and mySQL. Something isn't quite right...

However..now it is working...SHRUG...must be that time of month for the server

-Andrew
specht is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On