D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] ppp dial on demand & timouts



Enter this using vi etc:
<html><head>
<meta http-equiv="refresh" content="120">
<?php
if ($fp=@xxxxx("http://www.someserver/page/etc",r)) {
fclose($fp);
}
?>
</head>
<body>
Trying to connect</body>
</html>

That looks like a neat solution (note to self: must learn some scripting) ....

Change the remote file location to match something that doesn't change often.
(You don't have to specify the full page, the main URL will do.)

... http://www.google.com/ should do the trick ....

Every two minutes that this file is displayed in the browser, it
will check for an internet connection without causing problems with the
browser session.

cool ....

if I set it as my home page, my browser should open properly

if I want to browse online docs and let people ring me, navigate away using the same 
tab

if I want the connection to stay up, navigate away using a seperate tab
if I

... very neat cheers

_______Andy Weir________________________________________________________
|                                                                      |
| Electrical & Electronics Engineer  Work: andy.weir@xxxxxxxxxx        |
|                                    Play: andy@xxxxxxxxxxxxxxxxxxxxxx |
|                                        _----_                        |
|                                       /      \                       |
|                                        _o_/   \                      |
| Linux                                 /  \    /\                     |
| Registered User #272048                  /|  @  \____________________|
| (http://counter.li.org)            _____|_\@@                        |
|__________________________________________@@@_________________________|


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly