As info

Recommend this page to a friend!

      Msg2Pic  >  All threads  >  As info  >  (Un) Subscribe thread alerts  
Subject:As info
Summary:Notice: Undefined offset: 565+
Messages:3
Author:Gary England
Date:2014-09-08 13:41:51
 

  1. As info   Reply   Report abuse  
Gary England - 2014-09-08 13:41:51
As info:

Notice: Undefined offset: 565 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 565 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 565 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 565 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 566 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 566 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 566 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 566 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 567 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 567 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 567 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 567 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 568 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 568 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 568 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 568 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 569 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 569 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 569 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 569 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 570 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 570 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 570 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 570 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 571 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 571 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 571 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 571 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 572 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 572 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 572 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 572 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 573 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 573 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 573 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 573 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 574 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 574 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 574 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 574 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 575 in C:\public_html\msg2pic\msg2pic.php on line 39 Notice: Undefined offset: 575 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 575 in C:\public_html\msg2pic\msg2pic.php on line 41 Notice: Undefined offset: 575 in C:\public_html\msg2pic\msg2pic.php on line 41

  2. Re: As info   Reply   Report abuse  
Aaron Cox - 2014-09-08 17:59:23 - In reply to message 1 from Gary England
Hi Gary!

What is the message you are attempting to encode? Also, what version of PHP are you using?

Thanks,
Aaron

  3. Re: As info   Reply   Report abuse  
Gary England - 2014-09-08 20:58:35 - In reply to message 2 from Aaron Cox
Hi Aaron,

I just ran your example.php out of the box.

Length of $MESSAGE is 565 which means that $i is bumping past 565.

Since $width * $height = 576 and your nested loops effectively terminate after ($width * $height) times, it's understandable.

I always run my development environment with E_ALL set so I don't miss Notices and other annoying things php has to say.

My environment is Apache/2.2.13 and PHP/5.3.0

Looks like a useful class. Good job.

Gary

 

For more information send a message to info at phpclasses dot org.