CodeIgniter Forums

Full Version: get return value from executed url
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

hi, been working in sms stuff now i want to execute url into another web server.

Example, the url is:

then after executing it returns a value like printing message in the webpage, and all i need is to get those value and i don't have any idea to do so!! can somebody tell me pls...


El Forum

Using your URL, $_GET holds an array of the data.
      'username' => 'xxxxxx',
      'source' => 'testing',
      'message' => 'test',
      'dlr' => '0',
      'destination' => '91'
      // ETC

El Forum

How is the data returned? XML, json, etc. How are you calling the url? curl, fopen, etc?