Results for: "php"
Contents (212)
Learn PHP: Handy Functions for Beginners
If you’re new to PHP language, we’ll introduce you to seven really handy PHP functions in this quick tip! Function 1 : isset Check…
read more
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
Genghis - Mongo DB Manager in a single file
For NoSQL fans, MongoDB is definitely the most popular solution with the simplicity and cross-platform support offered. In order to manage…
read more
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
SEO from Php with PhpSEO class in PHP
Here we present a class to make better SEO in your PHP. I want to post about SEO functions and classes…
read more