island Posted January 22, 2008 Share Posted January 22, 2008 Hi, I run a php script in my localhost and i need to disconnect and connect to internet adsl if some conditions are virified by using php code or javascript, is there any code to disconnect and connect to internet adsl ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/87224-disconnect-and-connect-to-internet-adsl/ Share on other sites More sharing options...
resago Posted January 22, 2008 Share Posted January 22, 2008 I guess after verification you could set the default gateway with an exec command. thats the only way I see of doing that. it would only effect the machine and any machines routing through it. Quote Link to comment https://forums.phpfreaks.com/topic/87224-disconnect-and-connect-to-internet-adsl/#findComment-446162 Share on other sites More sharing options...
island Posted January 22, 2008 Author Share Posted January 22, 2008 Thank you for your reply Do you know the commands of disconnect and connect to adsl internet ? Quote Link to comment https://forums.phpfreaks.com/topic/87224-disconnect-and-connect-to-internet-adsl/#findComment-446204 Share on other sites More sharing options...
island Posted January 22, 2008 Author Share Posted January 22, 2008 i forget to montionned that i have Sagem F@st 800/840, any body have the command line to disconnect and to connect to the adsl internet ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/87224-disconnect-and-connect-to-internet-adsl/#findComment-446360 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.