Author Topic: Using the PHP execu command  (Read 292 times)

0 Members and 1 Guest are viewing this topic.

Offline KaboomTopic starter

  • Enthusiast
  • Posts: 98
  • Gender: Female
    • View Profile
    • Darryn and Steph's Blog • Unleashing life
Using the PHP execu command
« on: June 28, 2010, 04:37:24 AM »
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.
Building my own blog :)

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,255
    • View Profile
Re: Using the PHP execu command
« Reply #1 on: June 28, 2010, 04:39:44 AM »
What exactly are you having trouble with? The command itself? Or how to execute the php script?