Jump to content

StevenFullman

New Members
  • Posts

    2
  • Joined

  • Last visited

StevenFullman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi there, PHP does nothing after the output has been sent (it's a pre-processor), so there's no 'onchange' event you can call. As the others have said AJAX is the way to go. jQuery would probably be the easiest option. I've been using this plugin recently: http://www.appelsiin...rojects/chained It does exactly what you need, and is more intuitive than other similar ones I've seen. Cheers, Steve
  2. Hi there, You need to pass in the name of the parameter (as an array) as well: <?php class GetPlatformByUserAgent{ public $useragent = 1234 ; //$a = $_SERVER['HTTP_USER_AGENT']; }; $client = new SoapClient("[url="http://BLANK.asmx?wsdl"]http://BLANK.asmx?wsdl"[/url]); $response = $client->GetPlatformByUserAgent(array("pUserAgent" => "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)")); echo $response ?> Cheers, Steve
×
×
  • 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.