I am working in PHP zend framework.I have an api function as follows.
http://testmywebsite/API/Testmyapifunction
I have given my api url to one of my client.They had a set up that when they sent a text message my api url is involked.And they are pushing the details of the message such as message content,id,time etc. and i can fetch the details inside my api function.
I fetches the details as in the following way.
$msg_id = $this->_getParam('msg_id');
$msg_senderid = $this->_getParam('msg_senderid');
$msg_content = $this->_getParam('msg_content');
And i am storing these values in my db.Then i want to pass these values to another server.I have the api url of that server.But i cannot pass the values to that server.
I am redirecting the values as in the following way.
$this->_redirect('http://testanotherwebsite/API/Testapifunction.aspx?msg_id='.$msg_id.'&msg_senderid='.$msg_senderid .'&msg_content='.$msg_content);
I want to pass these values to the other server.Anybody please help me.I am working on this issue for many days and its my deadline today.Please help.