[PHP-WIN] snmpwalk

2002-07-08 Thread MAAS
Hi Iam trying to use snmpwalk but I get this: Parse error: parse error, unexpected T_VARIABLE in c:\inetpub\wwwroot\alarm.php on line 7 This Is my code: ALARM ??? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] MIB and snmp

2002-07-08 Thread MAAS
Iam trying to get some data on a php homepage. I get the data vith snmp msg. I get som msg, but when I try to get a speciall object ID i get this: ALARM 27 (port 52): Warning: Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. in c:\inetpub\wwwroot\alarm.php on line

[PHP-WIN] SNMP -> LOG

2002-07-15 Thread MAAS
Hi I would like to collect data from snmpget and log it. Anyone have a idea how to do this? // maas, Sweden -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] fputs - need help!!

2002-07-15 Thread MAAS
Hi I use this line fputs ($sysname_log, "$time - SystemName: $sysname\n"); I would like to get a log file, and everytime I refresh this page it will make a new line and write $the local time - SystemName: $sysname So after a while it will look like this $the local time - SystemName: $sysname

[PHP-WIN] mail in WIN2K

2002-07-15 Thread MAAS
Hi Iam trying to use mail in WIN2K PRO, I use IIS. But I only get this in my browser Warning: Server Error in c:\inetpub\wwwroot\log.php on line 23 I use code like this. But what should I use for headers? mail($recipient, $subject, $msg, $mailheaders); Should I do anything in php.ini? I have

[PHP-WIN] CRON JOB

2002-07-17 Thread MAAS
What do I have to do before I can run my file.php as a cron job in Linux? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] snmp / php / linux /error

2002-07-18 Thread MAAS
Iam trying to use my php file in a Linux machine. #!/usr/local/bin/snmp_guard.php -q Then I start it with php snmp_guard.php All I get is Call to undefeind funcion snmpget() WHY?? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP] Removing Items from an Array

2005-10-13 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Thanks for the addition Jochem.. one reason I post here, even if it's a basic example, is because if there's a better way or a chance to learn something new, I want to have that opportunity. Thanks again! TG, its a pleasure. I often find it fun just to write stuff