The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
I am working on a script that will check to make sure a remote server is online, and if it is online include a file (on.php), and if the remote server is offline include the file (off.php) instead on the page. If some one could show me how to do this I would be forever in there gratitude. Thanks! -Brian |
|
#2
|
||||
|
||||
|
Use fsockopen() I think.
|
|
#3
|
|||
|
|||
|
I was wondering if anyone else could show me an example.
-Brian |
|
#4
|
||||
|
||||
|
PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|