Similar Posts
get data from a xml in php
$userdata = new SimpleXMLElement($xml_response); print_r($userdata); Result SimpleXMLElement Object ( [id] => mv1ATgSG8K [first-name] => uma shankar [last-name] => pandey [email-address] => uspmca@gmail.com [picture-url] => http://m.c.lnkd.licdn.com/mpr/mprx/0__NWrbM-p4SlvpGJs_-I_bR-TVeC9OXdsTvg7bRlpLSnF38OVftMpdUL-q6GHgiHnCBwaey7dHZ30 ) Next>> $userdata=(array)$userdata; print_r($userdata[‘id’]);exit;
Homosexuality in India
It was supposed to be a day of celebration, with screens and even balloons put up at offices of various LGBT groups in anticipation of a verdict that would help uphold gay rights. But the SC ruling re-criminalising homosexuality came as a shocker instead. It caused disbelief and deep disappointment across the country and sparked protests in…
Call a Web service from android
package com.example.root.myapplication; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.os.AsyncTask; import android.widget.TextView; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; import org.apache.http.util.EntityUtils; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState)…
How to make website safe to hack
use mysql_real_escape_string() during login use addslashes() during login user trim during login
Authorise.net payment sample code by API
authorize Download this file on your local and pass keys and test it on your server