Posts

Message Sending API (Unofficial) for Way2SMS [ PHP ]

Recently I looked through the website http://site24.way2sms.com/content/index.html  and mapped the parameter which were used used in get and post forms. By using the Curl library i was able to send messages through Command Line  for free . For mapping the get and post parameters , I used Developer Tools in Chrome . Below i'm sharing the snippets of my php library for way2sms  so that anyone could be able to send messages on mobile by using this easy to use API. Dependency : Account on Way2SMS Website <?php /** * Created by H$[Hitesh Saini] */ class Way2Sms { //user name of Way2Sms service public static $username ; // password of Way2Sms service public static $password ; //token public static $token; function __construct ($user , $pass) { Way2Sms :: $username = $user; Way2Sms :: $password = $pass; } function init () { $postData = '' ; $url = "http://site24.way2sms.com/Login1.action...

Time Scheduler App

Image
I'm sharing the codes of Time Scheduler App , which are purely written in JS , some new functionality can be add by converting the codes in Object Oriented Paradigm and adding some Server side functionality with PHP. Codes of Time Scheduler App- <html> <head> <script src= "js/jquery.min.js" type= "text/javascript" ></script> <script src= "js/bootstrap.min.js" type= "text/javascript" ></script> <link href= "css/bootstrap.min.css" rel= "stylesheet" > <style type= "text/css" > span #time { text-align : center ;} h1 { color : #a94442 ; text-shadow : 0 1px 0 #ccc , 0 2px 0 #c9c9c9 , 0 3px 0 #bbb , 0 4px 0 #b9b9b9 , 0 5px 0 #aaa , 0 6px 1px rgba( 0 , 0 , 0 ,. 1 ) , 0 0 5px rgba( 0 , 0 , 0 ,. 1 ) , 0 1px 3px rgba( 0 ,...

making web mouse for linux

                       making web mouse for linux     Required tools:    1.php    2.mysql server    3.apache2 server with php configured     4.xdotool utility command    5.sql    6.javascript for ajaxing part                                              "SQL PART" Now create a table named "coord" containing properties described below +-------+-------------+------+-----+---------+-------+ | Field | Type        | Null | Key | Default | Extra | +-------+-------------+------+-----+---------+-------+ | xy    | varchar(10) | YES  |     | NULL    |       | +-------+-------------+------+-----+---------+-------+         ...

A Simple Game in Javascript

                                     A Simple Game in Javascript  A week ago i thought about to take a revision of my Javascript skills ,so i planned to make some useful applications in Javascript. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 <html> <title> Rocket Game </title> <head> <style type= "text/css" > html {} img #obstacle { position : absolute ; margin-left : 0px ; margin-top : 0px ;} </style> </head> <body id= "body" style= "opacity:0" onload= "show()" ...

Creating App USing REST APIS

                                          Creating App USing REST APIS  <?php session_start(); ?> <html><head> <title>Hitesh Saini's DownloadBook</title> <meta name="description" content="Download free it ebooks, download free information technology books, download free ebooks" /> <meta name="keywords" content="hitesh saini website,free it ebooks,hitesh saini from bharatpur,download ebooks,download free ebooks" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <style type="text/css"> #head{width:800px;height:100px;border:1px solid blue;border:2px solid grey;} #left_head{float:left;width:400px;} #right_head{font-family:sans-serif;float:right;width:400px;} input.ex{z-index:1;font:sans-serif;width:300px; height:42px;font-size:25px;background:rgba(100,20,100,0.4); border:2px solid blue; border-col...

Setting up and understanding the Codeigniter framework

Image
Now download the codeigniter framework from it's official website and place that in the root directory of server configured with PHP. Look into the directory structure of codeigniter framwork files. Now i'm going to discuss about the folders and files included in its directory . This is directory structure of codeigniter Framework given in the adjacent picture and the shown folders and files are included  in the structure of codeigniter framework. Here also a folder in the above directory named as "system" in which library class functions of Codeigniter framework are included. By using the system library of CI, one can easily make a good app rapidly .All one has to do is just follow the rules of working in CI framework.  Lets talk about its working and directory Structure-  first we would discuss about each folder included in its application folder because it is most essential and will help to understand it's working. 1.cache:  At first...