Make your website instantly available in other languages

I think everyone know about google language translation We can use http://www.wibiya.com/ to translate webpage/blog content in worlds very known languages Add the free Google Translate gadget to instantly translate your webpage or blog into other languages: English, Afrikaans, Albanian, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, Estonian, Filipino, Finnish, … Read more

CakePHP vs YII

Have you checked my previous article on CakePHP… https://www.svnlabs.com/blogs/cakephp-in-svnlabs/ Yii (Yes, it is) — a high-performance component-based PHP framework best for developing large-scale Web applications. Yii have features, including MVC, DAO/ActiveRecord, I18N/L10N, caching, jQuery-based AJAX support, authentication and role-based access control, scaffolding, input validation, widgets, events, theming, Web services, and so on. Written in strict … Read more

a2zVideoAPI WordPress Plugin

a2zVideoAPI WordPress Plugin: https://www.svnlabs.com/blogs/a2zVideoAPI.zip http://wordpress.org/extend/plugins/a2zvideoapi/ Plugin Name: a2zVideoAPI widget Plugin URI: http://svnlabs.com/a2zvideoapi/ Description: a2zVideoAPI allows you to add a sidebar widget to show video from various sites including youtube, dailymotion, google, vimeo, metacafe, blip.tv, hulu, 5min, myspace, ehow, break, flickr etc. Author: Sandeep Verma Version: 0.7 Author URI: https://www.svnlabs.com/blogs Other: Curl must be on your … Read more

Image2text

Image to Text Or Optical Character Recognition (OCR) is used for extracting text from PDF and images (JPG, BMP, TIFF, GIF) and convert into editable Word, Excel and Text output formats. What is OCR? Optical Character Recognition (OCR) is process of converting scanned images of handwritten, typed, or printed text into machine-encoded text. It is … Read more

RESTClient – Web Service Consumer

RESTClient is an application use to visit and test RESTful services. REST (Representational State Transfer) is the model of the Web to consume web resources. The browser makes a request to a URL and receives a response.  The request may be a GET or POST (or a PUT, DELETE, or HEAD) and the response may … Read more

Upload Large Database Table to Server

Hello Friends, Sometime we want to upload large database table to server but phpMyAdmin have limit to upload SQL large *.sql files.. When we create database table “svnlabs” from mysql admin server make 3 files “svnlabs.frm”, “svnlabs.MYD” and “svnlabs.MYI” These files are located at “/var/lib/mysql/svnlabs”.. we can check this location by phpinfo.php We can upload … Read more

a2zVideo API

Welcome to the a2zVideoAPI wiki! This API supports video links to get video information like Embed Code, Video Thumb, Video Title, Video Description etc. How to use a2zVideoAPI: 1. Download “api.php” from http://github.com/svnlabs/a2zVideoAPI 2. API require PHP with CURL extension.. Setup / Upload “api.php” to your web server 3. Modify “api.php” for API Video server … Read more

Download youtube videos using PEAR

PEAR have rich library to access web based resources easily… <?php $sv = new SVTube(); $sv->download(“D7cm-yu-CP0”, “svnlabs.flv”) ?> Class: SVTube.php —————————— <?php require_once ‘HTTP/Client.php’; require_once ‘HTTP/Request.php’; class SVTube { var $req; var $debug = false; var $auth = false; function download ($video_id, $video_filename) { $url = “https://www.youtube.com/watch?v=”.$video_id; $this->req =& new HTTP_Request($url); $response = $this->req->sendRequest(); if … Read more

Run Shell Commands from CGI-BIN

Hey, here are some simple steps to run shell commands under cgi-bin using Apache web server (/var/www/cgi-bin), which is configured with cgi access. Apache CGI allows files with executable permission in cgi-bin directory treated as application and run on web browsers. We have to send the MIME type before outputting data to the web from … Read more

Create WebThumb using LAMP

We have to install opera/firefox  first on server. Then install Xvfb for Xvfb virtual framebuffer html2image.sh ………………………. #! /bin/sh /etc/init.d/xvfb start export DISPLAY=:7 DISPLAY=:7 opera –remote ‘openURL(‘$1′)’ & sleep 20 DISPLAY=:7  import -window root $2 /etc/init.d/xvfb stop Uses: # ./html2image.sh  https://www.svnlabs.com   webthumb/svnlabs.png Open FireFox in Xvfb: firefox.sh #!/bin/sh mozilla-firefox -a firefox -remote ‘openURL(‘$1′, new-tab)’ || … Read more