Results for: "include"

Contents (377)

PHP: Convert coordinates from degrees to decimal format
PHP: Convert coordinates from degrees to decimal format

  This code will convert longitude and latitude in D'M'S format into a decimal format. It also contains the function to…

read more
10 Metro Bootstrap Templates
10 Metro Bootstrap Templates

As an open source project Bootstrap continues to evolve, with 2.2.1 the latest version released recently, it has significant grounding…

read more
Import data from Mysql to MongoDb with EzSql class
Import data from Mysql to MongoDb with EzSql class

This simple php class to demonstrate how to import data from a MySql database to a Mongodb with out complications.  // It uses the ezsql database class from Justin Vincent:  // http://justinvincent.com/ezsql include_once "ezsql/shared/ez_sql_core.php"; include_once "ezsql/mysql/ez_sql_mysql.php";            class mongodb_importer {     public $user;         public $pass;         public $databse;         public $server;         public function import($table_name,$mongo_db)     {         $db = new ezSQL_mysql($this->user,$this->pass,$this->database,$this->server);                      $m = new Mongo();         $mongo_db = $m->selectDB($mongo_db);         $collection = new MongoCollection($mongo_db, $table_name);         $res = $db->get_results("select * from ". $table_name);         $i = 0;         foreach($res as $r)         {             $i++;             $collection->insert($r);             }         return $i;     } } ?> And…

read more
SEOStats Php class to get Seo Statistics
SEOStats Php class to get Seo Statistics

  SEOstats is a powerful open source PHP library to request a bunch of SEO relevant metrics such as detailed backlink…

read more
Setup VNC server for remote desktop management in Ubuntu 12.04
Setup VNC server for remote desktop management in Ubuntu 12.04

   VNC is a protocol that is used to share the desktop with other users/computers over the network/Internet.In order to…

read more