Kaboom Posted June 28, 2010 Share Posted June 28, 2010 exec(“command″); I want somehting like that up there for my website but it has a very special purpose. We are currently running a vbulletin forum on my one site and well, there's a lot of jerks on there. So I added an IP ban command to the shoutbox, so from there I can ban users. I was wondering (since I hate the vb ip ban system) if you guys know how I can make this command run through cron or some other system (in a cPanel apache server) too add users IP adress to the deny ip manager list. I can have it add them to the .htaccess list if that works but idw it to rewrite my whole .htaccess file either. Quote Link to comment https://forums.phpfreaks.com/topic/206040-using-the-php-execu-command/ Share on other sites More sharing options...
trq Posted June 28, 2010 Share Posted June 28, 2010 What exactly are you having trouble with? The command itself? Or how to execute the php script? Quote Link to comment https://forums.phpfreaks.com/topic/206040-using-the-php-execu-command/#findComment-1078088 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.