Hello, I'm currently making my own php scripts (poller, graph, discovery, backend eventually)
Can anybody tell me if there is a way to very simply debug the PHP scripts ? Currently I'm not familiar of PHP (but it seems near C programs) so it's not very much a problem for me to create them. Nevertheless I would to know if there are some tricks to debug my own PHP scripts ? a) Does a PHP debugger exits ? b) Which debug function can I put in my script to debug in JFF NMS ? Where can I see the results ? (I have found a command print_r display on the user interface when it is put inside the graph function) c) If I want to call my poller, graphs, discovery, backends scripts as JFF NMS does how can I pass parameters from the command line ? Which value of the parameters must I put to simulate JFF NMS ? I have noticed that the scripts can be executed by php -q <script_name>.php Thanks a lot for any help Didier ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users