Development Running a PHP script on remote server

Discussion in 'Software' started by Sputnik, 6 Jan 2006.

  1. Sputnik

    Sputnik What's a Dremel?

    Joined:
    1 Sep 2005
    Posts:
    236
    Likes Received:
    0
    How do I run a PHP script on a remote server? For example an IRC bot, I've done the coding now I need to test it and get it running.

    Thanks,
    Sputnik :lol:
     
  2. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Never used IRC before, but PHP scripts can be executed from the command line like so,

    Code:
    php -f <filename>
     
  3. ST8

    ST8 What's a Dremel?

    Joined:
    14 Feb 2003
    Posts:
    596
    Likes Received:
    0
    Be warned that unless youve specifically paid for it, the chances are your host will not allow you to run background processes :)
     
  4. Sputnik

    Sputnik What's a Dremel?

    Joined:
    1 Sep 2005
    Posts:
    236
    Likes Received:
    0
    I've done that and it works, but now I need that to be done on my remote host.

    Sputnik :)
     

Share This Page