php-irc with apache

Back to PHP-IRC Support

Page: 1  
From User Message Body
lpreams
Post #773
user avatar
Member
Date: 1:00 am, Aug 6 2008
Posts: 8


Ok, so I followed the instructions at http://www.php-mysql-tutorial.com/install-apache-php-mysql.php and ran php with apache. Can anyone tell me how to now run the bot through apache?

-Phoenix

Even a clock that does not work is right twice a day.
Polish Proverb
Mad_Clog
Post #777
user avatar
Member
Date: 6:03 am, Aug 8 2008
Posts: 176


The bot is a CLI (command line interface) script and is not to be run from a website as such.

lpreams
Post #778
user avatar
Member
Date: 3:15 am, Aug 9 2008
Posts: 8


See, the thing is, im running this bot on my personal computer, not a server, so i want it to run in the background. Is there way to have it run without having a window open?

-Phoenix

Even a clock that does not work is right twice a day.
Polish Proverb
Mad_Clog
Post #780
user avatar
Member
Date: 11:11 am, Aug 10 2008
Posts: 176


If you're using Linux check the readme, there's a switch just for that.
On windows you could specify the bot to run on boot time (task scheduler), then it will be running in the background.

efreak
Post #783
Member
Date: 3:00 am, Aug 11 2008
Posts: 15


http://www.commandline.co.uk/cmdow/index.html

Free command-line utility that allows you to hide/unhide windows, among other things. There are GUI-based applications out there that allow you to hide windows and/or minimize them to the system tray (ex. 4t tray), but they usually cost. This one is simple, and you can probably create a batch file that will run the bot and then hide itself. I've never used it, however, so I don't know how well it works.


http://www.nirsoft.net/utils/nircmd.html
nirsoft's NirCmd (Freeware command-line tool) also has a hide function, but its a more advanced program (also command-line based)

   

Back to PHP-IRC Support