PHP Classes

Out-of-the-box error.

Recommend this page to a friend!

      ASCII CAPTCHA  >  All threads  >  Out-of-the-box error.  >  (Un) Subscribe thread alerts  
Subject:Out-of-the-box error.
Summary:E_WARNING spat out with "out-of-the-box" files.
Messages:2
Author:Spudinski
Date:2011-04-02 06:28:35
Update:2011-06-05 23:20:36
 

  1. Out-of-the-box error.   Reply   Report abuse  
Picture of Spudinski Spudinski - 2011-04-02 06:28:36
Line 385 and 386:
$current = explode("\n", $current);
$current = $current!='' ? explode("\n", $current) : array_fill(0,7,'');

That will cause errors, but commenting out either of the lines will work.
Also, another thing I'd wish to add, the output isn't always the same total width. I'd like to see this being changed so that a "definite" width can be set.


  2. Re: Out-of-the-box error.   Reply   Report abuse  
Picture of serpentroy serpentroy - 2011-06-05 23:20:36 - In reply to message 1 from Spudinski
hy guys....

why... theres error, like this.


Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\c\ascii_captcha.class.php on line 386

Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\c\ascii_captcha.class.php on line 386

Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\c\ascii_captcha.class.php on line 386

Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\c\ascii_captcha.class.php on line 386

Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\c\ascii_captcha.class.php on line 386

Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\c\ascii_captcha.class.php on line 386
IK1XQE :

...~~..~~.~!~....
...########.~....
...##...*.~~.....
...##...!~..~....
...######*..*!...
...##.!...*.....~
....##!~.*!~.....
...########**.!..
..*..*.!*!!..*~..