How to pass parameters and data through web services in PHP? I’m developing a front-end PHP application that has More hints up a web service for web app. When the user opens the web service with a page, the page is displayed to them with parameters and data within a string. From the web service, I have generated the required data that are sent via request to that server via a web service. The problem is, the page is passed parameters that are required by page and data that are set into a String object, or passed in via a POST method So, if a user opens a page using a script, the data are required via URL parameters and data into the String object. The response is always null. $data = json_encode($data); $config = new Config(); $config->open_single_data = true; $config->read(‘SELECT * FROM SESSION_CON\SESSION_PO\’ ); $info = new Config(); $data = $config->get_data(‘SessionData’); $total=0; $config->read(‘get_data’); $info = json_encode($data[‘total’])->build(); //get_data(); $config->get_userinfo(); if ($total==0){ $data[$total][‘from’] = $info->session_data; } if ($total>0){ $data[$total][‘from’] = $info->session_data; } if ($total>0) $content = “