Ok here's the deal.
We are finally getting DSL again...
but our PC is in the living room... and the youngest has figured out
that if he hits the right keys... he can bring up Internet Explorer.
All is fine and dandy right now, but come next week... that things
wont be so dandy.
I am setting our LInux router/server back up soon, and would like a
quick, easy way to enable and disable our internet access. What I
would like to do is have a simple PHP page that says
(iff network status = inactive)
Your Internet Access is DISABLED
Enter passcode to enable internet access
[TEXTBOX]
Then [OK]
so on clicking "OK" if password = suchandsuch then run script"
"/sbin/network start" or whatever the script is and refresh the page
then
iff network = active
Your Internet Access is ENABLED
[DISABLE]
upon clicking of "DISABLE" run script /sbin/network stop and refresh
the page
Something to that effect.
Any help would be appreciated.