Rost Posted October 14, 2011 Posted October 14, 2011 Hi there. I try to describe the problem as better as I can. I'm developping some mini-apps that can be viewed by many (most of them) mobile devices. Since I uploaded the first proyect this week I begun writing a RAR Online-Uncompressor, as a friend's request. I guess this mini-app will be useful for many people. I done it, and tested within my localhost. But when I tryed it once in my host, something gone wrong, and now it throws an http 500 error. It uploads the *.rar file, but not uncompress it. At the other hand, could I get access to some statistics? Only for getting information about what kind of devices access to my apps. Thanks. Edit: I fixed that, but now I have another question. Do I have permission to execute commands? Like echo `rar e ...`;
Guest xaav Posted October 15, 2011 Posted October 15, 2011 I fixed that, but now I have another question. Do I have permission to execute commands? Like It depends on what scripting language you are using. It's been disabled for PHP for security reasons due to how PHP scripts run, but if you're using a CGI script, then you should have no problems.
Tjoene Posted October 15, 2011 Posted October 15, 2011 About the stats, they are disabled in cPanel due to the load they cause. If you wish to collect stats, you can use software like Piwik (can be found in Softcalculus in cPanel) or getClicky.
Rost Posted October 16, 2011 Author Posted October 16, 2011 Thanks to both. I fixed that, but now I have another question. Do I have permission to execute commands? Like It depends on what scripting language you are using. It's been disabled for PHP for security reasons due to how PHP scripts run, but if you're using a CGI script, then you should have no problems. Could you give me an example please?
Guest xaav Posted October 16, 2011 Posted October 16, 2011 See how to call external command in python and executing commands in perl.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now