Re: [PHP] php terminal.
adwin wijaya wrote: Since my webhosting didnt provide me with telnet access, I would like to have a small software that created by php to do some bash function such as lynx, ls etc ? If a new host is not possible for political or other reasons, and if your host wasn't smart enough to turn it off in the first place... http://php.net/exec You'll want to use some kind of authentication to avoid people abusing your script. http://www.php.net/manual/en/features.http-auth.php In fact, do that FIRST, so you have a safe directory to work with. Honestly, though, if they were only smart enough to not give you shell, but not smart enough to turn off exec, then that's even more reason to run away screaming from that host. They clearly don't understand Security at all. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php terminal.
Hello all.. Since my webhosting didnt provide me with telnet access, I would like to have a small software that created by php to do some bash function such as lynx, ls etc ? thx a lot :) -- === Best Regards Adwin Wijaya www.kuya-kuya.net www.e-rhema.net === -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php terminal.
Since my webhosting didnt provide me with telnet access, I would like to have a small software that created by php to do some bash function such as lynx, ls etc ? thx a lot :) Honestly, just get a new ISP that provides SSH access - many, many of them do and it's not something that should be a value add feature (e.g., it shouldn't cost more to have shell access). To write an app to do this really falls under the reinventing the wheel category. Besides, if an ISP doesn't want you to be able to do whatever in a shell, the PHP user likely wouldn't have permissions to run the commands that you'd want to run anyhow. -M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php