everyone! Because the use of joomla3 development system, this side in particular about joomla3 DBO objects, DBO object is the library object , In general, basically all frameworks will have their own DBO , so joomla is no exception, there is JDatabase this object. that's where I introduce his simpl......
detail
Hello everyone! Occasionally encountered a problem, because in my program, the sent value is often used in the array, for example: <input name="jvalue[name][]" value=""> <input name="jvalue[addr][]" value=""> <input name="jvalue[tel][]" value=""> and then add jQuery to generate mu......
detail
Everyone before the occasional encounter an error Because I often use isset to determine whether there are set parameters, but previously found that in some cases, isset even if the KEY in the array there will be judged FALSE. Originally, I always thought isset can replace array_key_exists to make......
detail
Everyone Recently re-install the latest version of WAMP The result is an error at startup "missing VCRUNTIME140.dll" After google Found to be here to download and install Visual C ++ Redistributable for Visual Studio 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48145 If it is "Miss......
detail
Hello! sometime we need to 301 Redirect First we have to know what is [301 Redirect] 301 Redirect is permanent 302 Redirect is temporary so here is the point if you use 301 Redirect your boswer will cache the Redirect event you edit code to not Redirect you will found browser still Redirect so need......
detail
hello!i got a problemthat is UTF-8 in json_encode in defaultjson_encode will change UTF-8 word to \uXXXX but! that is a problem!!because it will be the \\uXXXXthan to this \\\uXXXXthat is not good so... if in PHP 5.4 we can use this json_encode($data, JSON_UNESCAPED_UNICODE); to cancel UTF-8 word c......
detail
Hello ! Sometimes we need to obtain the PHP execution time I make an example <?php //Get microtime function //TRUE meaning refers to the return [floating-point numbers microtime] //If the default display [decimal microtime] + [sec] $startTime = microtime(TRUE); //sleep 2 second sleep(2); //end t......
detail
Hello everyone In joomla 3, the developer is a very important element inflection pluginThere are many types of plugin in joomla3 and even can also add their ownlike the system plugi will explains how to call plugin //captcha plugin JPluginHelper::importPlugin('captcha');//load plugin $dispatcher =......
detail
Hello! I want to add temporary password in framework then i found a solution <?php //open session session_start(); if (isset($_SESSION['newlogin'])) { unset($_SESSION['newlogin']); } //set account and password $valid_apasswords = array("test" => "123456"); //get keys $valid_admin = array_keys......
detail
before there is a need for customers to use soap interfaced The default soap is required to use the service to socket series sort out the problem I encountered here finishing the test in the beginning here windows 2003 host (IIS6 + PHP) and my own developed windows (apache + PHP) After the test beg......
detail
Message Board
Feel free to leave suggestions and share! Thanksgiving!