Results 1 to 10 of 21

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2010
    Location
    Bad Feilnbach
    Posts
    5
    and can be launched in place of the two telnet consoles used there
    Do I understand it right that I have to save this PHP code into a file on my local webserver under the document root. Thereafter I call this file via webbrowser to run it and then this file sends out the messages as long it runs?

    Thanks for your help.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    the file is intended to be launched from a command line as
    Code:
    php filename.php

    you can certainly try to run it as a page but
    1. you may have problems due to the php.ini configurations (not sure about this, it's some time since I had to work with php)
    2. the file contains a while(true) but the php runtime has a limit in the execution time, after that the execution will be stopped
    HTH

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:59 PM.