M.M.Stephin Nadar's Blog
Never lose hope. You never know what tomorrow may bring.
Our Telegram Bots
(Move to ...)
utubebot
uploadbot
fakemailbot
apkdl_bot
mp3toolsbot
▼
Our sites
(Move to ...)
apkdl.in
Jamango.in
▼
Showing posts with label
php
.
Show all posts
Showing posts with label
php
.
Show all posts
8 September 2018
execute root commands via php
›
Solution using a binary wrapper (with suid bit) 1) Create a script (preferrably .sh ) that contains what you want to be ran as root. #...
25 February 2017
openload.co latest dl link generator php
›
Last Updated: 15/Mar/2017
2 comments:
3 July 2016
search for a string in all php files stored in a linux system
›
grep -r --include=*.php "search string" /path/to/dir
5 February 2015
mobikwik recharge api
›
<?php $uid=''; //your mobikwik username probably email id $pwd=''; //your mobikwik password $amt=10; //amount $cn...
1 comment:
17 April 2013
import GeoIP csv to MySQL DB provided by MaxMind
›
you can download GeoIP csv database from http://www.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip unzip and extract the csv fil...
1 March 2013
fetch google contacts using access_token and parse it
›
<?php $access_token=$_GET['access_token']; $max_results=$_GET['max_results']; $api_url="https://www.google.com/m8/fe...
17 January 2013
indian mobile number location database
›
Last Update on 17/Jan/2012 just an array of data which consists of operator and state name download from here https://github.com/hebrew8...
16 November 2012
sort multi dimentional array by the value of specific key
›
Sample Array Array ( [ 0 ] => Array ( [ iid ] => 1 [ invitee ] => 174 [ nid ] => ...
convert stdClass object array to normal array and normal array to stdClass object
›
stdClass obect to normal array function objectToArray($d) { if (is_object($d)) { // Gets the properties of the given object // w...
30 September 2012
way2sms php script
›
Last Update on 17/Jan/2013 <?php $to=$_GET['to']; $msg=$_GET['msg']; $user=$_GET['user']; $pass=$_GET[...
20 comments:
simple oauth with google
›
function code2token($code) { $oauth2token_url = "https://accounts.google.com/o/oauth2/token"; $clienttoken_post = array( ...
4 July 2012
unknown file size while downloading via php script
›
if your browser doesn't appear to be obeying the headers generated by your PHP script—especially Content-Length —it is fairly likely tha...
30 January 2012
know the list of disabled functions on server
›
<?php error_reporting(E_ALL); $disabled_functions = ini_get('disable_functions'); if ($disabled_functions!='') { $ar...
28 January 2012
count the occurence of a word in a string
›
<?php $str="hi how how r you how?"; echo substr_count($str, 'how'); ?> this will give outpus as "3" s...
Home
View web version