RE: [PHP-WEBMASTER] typo in example code ?
| From: | bruno seys | Date: | Sat, 22 Sep 2007 09:00:49 +0000 |
| Subject: | RE: [PHP-WEBMASTER] typo in example code ? | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-110@lists.php.net to get a copy of this message | ||
Morning All,
As requested !
Bug #42732 EXAMPLE 2251 TYPO (smptget)
Submitted: 22 Sep 9:00am UTC
From: brunoseys at telenet dot be
Have a nice day.
bruno
-----Original Message-----
From: Hannes Magnusson [mailto:hannes.magnusson@gmail.com]
Sent: zaterdag 22 september 2007 10:16
To: bruno seys
Cc: webmaster@php.net
Subject: Re: [PHP-WEBMASTER] typo in example code ?
On 9/20/07, bruno seys <brunoseys@pandora.be> wrote:
> Hi,
>
> While executing the on line example code 2251, I received following
> error message:
> Example 2251. Using snmpget()
> <?php
> $syscontact = snmpget("127.0.0.1", "public",
> "system.SysContact.0");
> ?>
>
>
>
> Warning: snmpget() [
> <http://localhost/edu/function.snmpget>
> function.snmpget]: Invalid object identifier: system.SysContact.0 in
> C:\apachefriends\xampp\htdocs\edu\snmp_test.php on line 36
>
>
>
> I am strongly convinced this is caused by the Upper Casing of the red
> "S" within "system.SysContact.0" since changing this to lower case
works
> fine.
Could you file a bug report at http://bugs.php.net/report.php about it?
I have absolutely no clue if you are right or not, so I don't want to
update it myself.
Thanks,
-Hannes