Jump to content

ShivaGupta

Members
  • Content Count

    146
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ShivaGupta

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    india
  • Age
    21
  1. $m=json_decode($html); print_r($m); stdClass Object ( [requestGuid] => [orderId] => [statusCode] => SUCCESS [statusMessage] => SUCCESS [response] => stdClass Object ( [amount] => 100 [currencyCode] => INR [status] => 1 [message] => ACTIVE [ownerGuid] => 7898980 [walletType] => USER [ssoId] => 9op09 [txnPinRequired] => [otpPinRequired] => ) [metadata] => ) this is json decoded object and want to get property of amount .plz help me
  2. Im trying to send a json array to a php post request. {"cart_items":[{"configuration":{"price":100,"recharge_number":"9999999999"},"product_id":"999","qty":1}]} but here i dont know how to send in php plz help me with $fields .its argent url_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie); //curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie); curl_setopt ($ch, CURLOPT_HTTPHEADER, Array("Content-Type: application/x-www-form-urlencoded","Content-Type: application/json; charset=utf-8")); curl_setopt($ch, CURLOPT_USERAGENT, $agent ); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_REFERER, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,$fields); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $oone=curl_exec($ch);
  3. $post='{"cart_items":[{"configuration":{"price":100,"recharge_number":"9999999999"},"product_id":"999","qty":1}]}'; i try this n reslut was :There are no valid items in cart: help me plz
  4. Winners.. Are Not Those Who Never Fail But Those Who Never Quit !

  5. I dont have personality,i am mere statistics.I used to be "downtoearth". Now this is my present name, do i possess a name, a face ,an individuality ?

  6. Saying "SORRY" doesn’t mean that U r Wrong& other person is Right..It means that U Respect your Relation !!!!!!!!!!!!!!!!!!!!!!!

    1. davidannis

      davidannis

      That explains so much about my marriage. Wish I'd seen this 20 years ago.

  7. we have to challange our life.

    1. ricmetal

      ricmetal

      i see it as we have to challenge ourselves. for instance, i spend a whole lot of time indoors when there's people that i clearly have good connections with on the outside - yet i continue to negate them the pleasure of my company, so to speak. i find hard to just put myself out there and take that social pressure. maybe it's because i feel like i am to blame for whatever actions i think i'm blameable. what's interesting is that sometimes, some people come along and completely...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.