upgrade to 4.3.2RC1: php errors
| From: | Ronald Wiplinger | Date: | Sat, 12 Apr 2003 06:43:38 +0000 |
| Subject: | upgrade to 4.3.2RC1: php errors | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10596@lists.php.net to get a copy of this message | ||
Although in the first moment everything seemed ok, more and more errors occurs.
I use a sample code for creating a button and get an error in line 3:
PHP Warning: implode() [<a href="http://www.php.net/function.implode'>function.implide</a>]: Bad arguments in ... line 3
<?php
Header("Content-type: image/png");
$string=urldecode(implode($argv," "));
$im = imagecreatefrompng("button1.png");
$orange = ImageColorAllocate($im, 240, 230, 30);
$px = (imagesx($im)-7.5*strlen($string))/2;
ImageString($im,3,$px,9,$string,$orange);
ImagePng($im);
ImageDestroy($im);
?>
bye
Ronald
--
Ronald Wiplinger (CEO of ELMIT)
http://www.elmit.com +886 (0) 915 653-452
- I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org
PS: Spam prevention!
Our system is protected with a spam prevention program.
If you send us an e-mail, our system will send you a confirmation
message back.
Just reply to this confirmation message please. After receiving this
confirmation message, our system will send the hold message (one) and all
future messages (after the received confirmation message) to me without
asking you again.