note 37743 added to function.utf8-decode

From: Date: Tue, 25 Nov 2003 09:40:34 +0000
Subject: note 37743 added to function.utf8-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-60954@lists.php.net to get a copy of this message
Well, if you take the corrected code of nospam at jra dot nu, you should change if (strpos($new_str,"?")>0) to if (strpos($new_str,"?") !== false) This will work every time. Just look at the description of strpos(). Best regards ;-) ---- Manual Page -- http://www.php.net/manual/en/function.utf8-decode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37743 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37743&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37743&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60954) next »