legohead6 Posted November 8, 2008 Share Posted November 8, 2008 Well, our school has a firewall, and currently i am just running Putty on my laptop and get around the firewall. this works great, but when my friends want to get in i have to login for them and set it up. what i am wonder is if i can somehow start a SSH connection(to the server the php is running on) with php, and then the user could connect to it in there internet explorer preferences(under proxy settings) could someone tell me if this is possible? if so point me in the right direction... Quote Link to comment Share on other sites More sharing options...
vicodin Posted November 8, 2008 Share Posted November 8, 2008 i dont think php has the ability to do so. Sounds like a job for Java or JavaScript. Quote Link to comment Share on other sites More sharing options...
will35010 Posted November 8, 2008 Share Posted November 8, 2008 Well, our school has a firewall, and currently i am just running Putty on my laptop and get around the firewall. this works great, but when my friends want to get in i have to login for them and set it up. what i am wonder is if i can somehow start a SSH connection(to the server the php is running on) with php, and then the user could connect to it in there internet explorer preferences(under proxy settings) could someone tell me if this is possible? if so point me in the right direction... http://us3.php.net/exec Quote Link to comment Share on other sites More sharing options...
legohead6 Posted November 8, 2008 Author Share Posted November 8, 2008 i have tried that, i cant get the program to actually start on the computer. i cant make anything start on the localusers computer from a php command... even if i could make a php command that opens notepad i would be happy tried this <?php $WshShell = new COM("WScript.Shell"); $oExec = $WshShell->Run("notepad.exe", 7, false); ?> and i get Fatal error: Cannot instantiate non-existent class: com in ******/proxy.php on line 2 Quote Link to comment 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.