tag:blogger.com,1999:blog-30399579872039893832024-03-13T09:39:52.792+05:30ComputerGeekProgramming tutorials and guide for the latest technologies!Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.comBlogger221125tag:blogger.com,1999:blog-3039957987203989383.post-11791229720633916712014-09-22T12:59:00.000+05:302014-09-22T12:59:22.964+05:30Mysql Database Backup Using PHP / Batch File in Windows System.
Mysql Database Backup Using PHP / Batch File in Windows System.
In this section, I will show how to backup Mysql database using php script and batch file(.bat).
I had created this script for our client as they require automatic mysql database backup for their project.
So You can schedule below script in task schedular of windows system to backup database on daily /monthly basis.
Mysql Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-42295445082374817202014-08-13T16:31:00.000+05:302014-08-13T16:34:55.087+05:30Update Query using joins in MySql
Update Query using joins in MySql
In this Article, I will show how to write Mysql update query using joins.You can use multiple tables in your single Update query.
Example :
Departments Table :
id Name
1 Accounts
2 R&D
3 Sales
Employees Table :
id Name Salary Department IdRajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-76169267263612152642014-08-13T11:24:00.001+05:302014-08-13T11:29:10.743+05:30Create Complex polygon on GMap using Google Maps API v3
Create Complex polygon on GMap using Google Maps API v3
In this Section, I will show you how to create polygon on gmap using Google Maps API v3 that has complex edges.This example creates polygon using polyline based on user clicks.I have written this script to create complex geofences.
This example provides everything you need to draw polylines and polygons.You can use the search box to Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-62554714799181066702014-07-09T11:25:00.000+05:302014-07-09T11:25:07.381+05:30Find second and fourth saturday's of the month in PHP-MySql
Find second and fourth saturday's of the month in PHP-MySql
In this section, I have created simple script in PHP to find second(2nd) and fourth(4th) Saturday of the month.
<?php
// Mysql Connection
$conn = mysql_connect('localhost','root','');
if (!$conn) {
die('Could not connect to MySQL: ' . mysql_error());
}
echo 'Connection OK'; mysql_close($conn);
// Select Database
mysql_select_db(Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-65210367421958895842013-10-03T11:42:00.002+05:302013-10-07T15:10:08.646+05:30php.ini configuration file Default values
php.ini configuration file Default values
The PHP configuration file(php.ini) is read when PHP is initialized. php.ini includes the core php.ini directives you can set these directives to configure your PHP setup.php.ini will be located at /etc/php5/apache2/php.ini or /etc/php.ini
php.ini default values:
display_errors
;Default Value: On
This determines whether errors should be printed to Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-73140994926405580632013-09-24T16:17:00.002+05:302013-09-24T16:19:11.686+05:30MySQL delete duplicate rows from table using single query
MySQL delete duplicate rows from table using single query:
In this article,I will show how to delete duplicate records from table using single MySQL Query.
Example:
I have a table contain departments (department_table).
CREATE TABLE IF NOT EXISTS `department_table` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`department` VARCHAR(250) NOT NULL,
PRIMARY KEY (Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-13731577491507396742013-08-27T11:55:00.002+05:302013-08-27T11:55:21.112+05:30Most useful jQuery functions
Most useful jQuery functions
In this article, I have provided list of most commonly used jQuery functions.
List of jQuery functions:
1. jQuery Selectors:
//--- COMMON JQUERY SELECTORS ---//
// get element by id
$("#ElementID").whatever();
// get element by css class
$(".ClassName").whatever();
// get elements where id contains a string
$("[id*='value']").whatever();
// get Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-24871421562584905742013-05-15T12:49:00.000+05:302013-05-15T13:01:34.159+05:30Yahoo Weather API PHP Script Example/Widget
Yahoo Weather API PHP Script Example/Widget
In this example, I will show how to create weather application using Yahoo Weather API.Yahoo Weather API allows developers and programmers to get up-to-date weather information for your location.Yahoo Weather API provides local & long range Weather Forecast, Current Conditions, weather icons and two day future.
<?php
/*
Example: Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-44315628677569364602013-04-09T12:09:00.001+05:302013-04-09T12:11:26.125+05:30Create Dynamic Bar Graph/Chart in php
Create Dynamic Bar Graph/Chart in php
In this article, I will show how to dynamically create bar graph in PHP. I have created PHP script to create a bar graph in php such that x-scale and y-scale changes dynamically.
Example : Create dynamic Graph/Chart image page using MySQL&PHP
<?php
$hrs= array( "0" => 11, "1" => 12 ,"2" => 13 ,"3" => 14 ,"4" => 15);
$data= array ("Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-59683928440908195712013-01-23T17:25:00.000+05:302013-01-23T17:25:49.089+05:30HTML5 interview questions and Answers - HTML5 Quiz.
HTML5 interview questions and Answers - HTML5 Quiz.
In this section, I have selected advanced HTML5 interview questions and answers for Fresher and experienced cadidates. Last few months I have been working to select best HTML5 Job interview question and answer set for IT interview questions.
HTML5 interview questions and Answers:
What is HTML5?
Ans : HTML5 is The New HTML Standard Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-70789322768146308932013-01-22T15:04:00.000+05:302013-01-22T15:05:01.913+05:30Post data to a specific port using PHP/Curl.
Post data to a specific port using PHP/Curl.
In this article,I will show how to Post data to a specific port using PHP/Curl Method. PHP-curl library can be used to communicate with a specific port under Linux and windows platform.
Example: Send data to Port in PHP.
<?php
ini_set("display_errors",1);
error_reporting(E_ERROR);
$msg="&command=1";
$url = "http://127.0.0.1:1234";Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-2525092609725312682013-01-17T12:09:00.002+05:302013-01-17T12:09:54.933+05:30Apache Interview Questions and Answers - Apache Web Server
Apache Interview Questions and Answers - Apache Web Server
In this section, I have selected Basic and Important Apache interview questions and answers for all levels of candidates(Fresher level, experienced level).Last few months I have been working to select best question and answer set for Apache interview questions.
Apache Interview Questions and Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-52914918836606718092012-11-24T13:01:00.000+05:302012-12-05T13:23:08.670+05:30Print a web page using PHP/JavaScript Code
Print a web page using PHP/JavaScript Code
In this article I will show how to Print a HTML Web Page using PHP/JavaScript.I have Written simple script to print Visitor card in PHP.On web page, there is a print option. When the user click on `print` Button it will send a print command to the printer.
We are using Javascript window.print(); function to print HTML portion of a Web Page.
JavascriptRajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-87957397834597746722012-11-08T12:41:00.001+05:302012-11-08T12:48:02.750+05:30C Interview Questions and Answers For Freshers/ Experienced
C Interview Questions and Answers For Freshers / Experienced - Important Quiz
In this section, I have selected Basic and Important C interview questions and answers for all levels of candidates(Fresher level, advanced level,experienced level).
Last few months I have been working to select best question and answer set for C interview questions.
Here is some Important C Interview QuestionsRajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-42433331913154679002012-11-02T11:37:00.002+05:302012-11-02T11:39:53.066+05:30C Program to find smallest number with Output in a given array of elements.
C Program to find smallest number with Output in a given array of elements.
In this article ,I have written simple c program to find smallest number in a given array of elements.
Interview Question : Write a program to find the smallest and largest element in a given array in c?
Example:
/***
Program to find smallest Number
***/
#include<stdio.h>
#include<conio.h>
Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-83457524354828064262012-10-20T12:33:00.000+05:302012-10-20T12:42:17.563+05:30How to enable SSl on Wamp Server(apache2) - HTTPS Configuration
How to enable SSl on Wamp Server(apache2) - HTTPS Configuration
In this article, I will show how to Configure/Enable SSL in Wamp Server.I have installed wampserver with apache 2.2.12 and php 5.3.5. I have to configure the Open SSL server.
How to Setup HTTPS SSL on WAMP Server for apache 2.2
1. Install WAMPServer
2. Open Control Panel
3. Click System >> Select Advanced System Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-78569895802863221422012-10-11T12:53:00.001+05:302012-10-12T12:19:05.862+05:30JQuery Dialog Box Auto Close Event after 5 seconds - Example
JQuery Dialog Box Close Event Example
In this article,I will show how to Open/destroy/auto close dialog box after x seconds. jQuery Dialog Close event gives you a very simple way to close a jQuery UI dialog box after x seconds.I have written JavaScript code to Open and Close dialog box after a certaing amount of seconds.
Example:Auto Close jQuery UI Dialog Box
<!doctype html>
<Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-19816713347274654542012-10-04T13:21:00.000+05:302012-10-04T13:24:45.056+05:30Linkedin API Examples in PHP to get connections,email address,profile and phone number
Linkedin API Examples in PHP to get connections,email address,profile and phone number
In this Article,I have explained how to use Linkedin API using PHP Script to get all the connections,Contacts,email address,profile and phone number of linkedin users.
LinkedIn API allows users to fetch the email addresses,phone number of their LinkedIn contacts to our site.
Get Profile Info:
LinkedIn API Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com2tag:blogger.com,1999:blog-3039957987203989383.post-18832609706905624372012-08-13T15:28:00.000+05:302012-10-05T09:37:19.333+05:30Weblogic interview questions and answers
Weblogic interview questions and answers
In this article, I have selected Weblogic interview questions and answers for freshers and experienced candidates.This article includes weblogic admin interview questions,weblogic server interview questions and weblogic portal interview questions and answers.
Weblogic admin interview questions and answers
1.Class loader
The system that Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-69463453480276397312012-08-13T13:11:00.000+05:302012-08-17T13:17:38.759+05:30C Program to print star pattern pyramid
C Program to print star pattern pyramid form
In this article,I will show how to write C program to print Star Pattern pyramid form.
Example: Print Star pattern in C
#include
#include
void main()
{
int s=5,a,b,c,n=0;
clrscr();
for(a=1; a<=s; a++)
{
if(a%2!=0)
{
n=(s-a)/2;
for(c=0; c
{
printf<<(" ");
}
for(b=0; b
{
Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-32301228681295328412012-08-08T15:43:00.003+05:302012-08-17T13:21:10.257+05:30Turbo C Shortcut Keys
Turbo C Shortcut Keys - Computer Keyboard Shortcuts
In this article,I will explain how to use keybord Shortcut Keys in Turbo C.we have to use Keyboard Shortcut Keys to Speed up progamming skills.I have selected list of most commonly-used keyboard shortcut keys for turbo C and C++.
Shortcut Keys used in turbo c programming
Shortcut Keys(Hot Keys) Operation
Alt +Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-61673146033560343612012-08-07T16:10:00.002+05:302012-08-17T13:18:02.490+05:30JQuery interview questions and Answers
JQuery interview questions and Answers Advanced (Multiple Choice)- JQuery Quiz.
In this tutorial, I have selected advanced and basic Jquery Interview questions and answers with examples for freshers and 1 to 3 year experienced candidates.I have also included Objective Jquery ajax interview questions.
Advanced JQuery interview questions and Answers:
What is Jquery?
Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-68534765719307165552012-07-19T13:23:00.000+05:302012-08-17T13:18:20.991+05:30One to One relationship example in database
One to One relationship example in database(oracle, MYSQL, SQl, Ms access)
In this Article, I will explain how to create one to one relationship between two tables.In a relational database such as Mysql,SQl,Ms access, you can create relationships between pairs of tables like..
1.one-to-one
2.one-to-many
3.many-to-many.
One-to-one relationships in a relational database:
Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0tag:blogger.com,1999:blog-3039957987203989383.post-67660386965254669532012-07-11T12:48:00.004+05:302012-08-17T13:18:38.667+05:30MySql queries interview questions and answers
MySql queries interview questions and answers - MySql Database Tutorial
MySql queries Interview Questions & Answers
In this section, I have selected advanced MYSQL queries interview questions and answers for all levels of candidates(entry level, advanced level, expert level).Last few months I have been working to select best MYSQL queries for MYSQL Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com1tag:blogger.com,1999:blog-3039957987203989383.post-51728245024862252572012-07-07T13:12:00.001+05:302012-07-07T13:12:53.814+05:30XSS Prevention in PHP Cheat sheet pdf - Cross Site Scripting examples
XSS Prevention in PHP Cheat sheet pdf - Cross Site Scripting examples
XSS (Cross Site Scripting) Prevention in PHP
In this Article,I will show how to prevent XSS in PHP. Cross Site Scripting occurs, when an attacker uses a Web Application to send a malicious script(Javascript,VBScript,HTMl Script), Most often Malicious Data comes from the HTTP request.This script can access cookies,sessions Rajhttp://www.blogger.com/profile/01761981082302554862noreply@blogger.com0