How to Set Access-Control-Allow-Origin (CORS) Headers in .htaccess file
<FilesMatch “\.(ttf|otf|eot|woff|js|css|woff2)$”> # Type all extenstion that you want to allow <IfModule mod_headers.c> Header Set…
Read More<FilesMatch “\.(ttf|otf|eot|woff|js|css|woff2)$”> # Type all extenstion that you want to allow <IfModule mod_headers.c> Header Set…
Read MoreUntar files in Current Directory tar xvf whatevername_yougive.tar If you want to untar in specified…
Read Morescp fileName userName@remoteServerIP:remoteServerFolderPath Example : >scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/ once you type this command, system will…
Read More$c->add(TblUsersPeer::USR_TYPE,array(2,3,6),Criteria::IN); $c1 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,$this->getUser()->getAttribute(‘userid’),Criteria::EQUAL); $c2 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,null, Criteria::ISNULL); $c1->addOr($c2); $c->add($c1);
Read MoreWhen some special character(or other language data) is displayed as ‘? ? ? ? ?’…
Read Morefunction timeDifference(startDate,endDate) { date1 = startDate; date2 = endDate; laterdate = date1.split(“-“); laterY=laterdate; laterM=laterdate; laterD=laterdate;…
Read MoreWelcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Read More