212
I Use This!
Very Low Activity

News

Analyzed 1 day ago. based on code collected 1 day ago.
Posted almost 13 years ago by Jacob Lee
Seems to me it does work differently from PHP's when the text has multibyte character inside. example) in php echo base64_encode(utf8_encode('this is the text and 한글')); // Korean characters inside in Javascript document.write(base64_encode(utf8_encode('this is the text and 한글))); the php result is not the same with javascript result.
Posted almost 13 years ago by Opequalieniep
Posted almost 13 years ago by embedadoroump
Posted almost 13 years ago by embedadoroump
Posted almost 13 years ago by Xexys
Hello! I'm trying to use such construction if (!defined('MY_CONST')) define('MY_CONST', "some text"); And I get an error 'TypeError: redeclaration of var MY_CONST' but this works correct if (!defined('MY_CONST')) { delete MY_CONST; define('MY_CONST', "some text"); } May be you can fix?
Posted almost 13 years ago by BydayDaps
Posted almost 13 years ago by Rene Olivo
add tmp_arr=Array(); in the line 24 and this work!
Posted almost 13 years ago by zany
Thanks man you have solved my problem. :)
Posted almost 13 years ago by Bernard Lapera
I just used this function to test something in the client side. It seems the date is off by a full day, the PHP generated date is what I was expecting. Same with other tested dates. Thanks for all you guys do! JS: date('Y-m-d', 1364774400) = 2013-03-31 PHP: date('Y-m-d', 1364774400) = 2013-04-01
Posted almost 13 years ago by amerheaxy