Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: problem with netget action


Newbie

Status: Offline
Posts: 1
Date: Mar 18, 2010
problem with netget action
Permalink   
 


i am working on ifbyphone i have problem to get parameters to my server and giving to responce
i written following code in survo ivr

Current URL: http://www.prepaidtab.com/html/ifbyphone.php?app_name=irving&step=authorize&attempt_number=1&time=timestamp&okay=A1&mydata=p_t&uid=unique_id

and following code written in in my server page

<?php
include "connect.php";
session_start();
$step = $_POST['step'];
$attempt_number = $_POST['attempt_number'];
$account_number = $_POST['mydata'];
$id = $_POST['uid'];
// Take action based on the values.
switch($step){
case 'authorize': // Validate the account number passed.
$query2="SELECT * FROM ppt_order where randomnumber=$account_number";
$result2=mysql_query($query2);
$nume=mysql_num_rows($result2);   
$act=mysql_fetch_assoc($result2);
$randomnumber=$acr[randomnumber];
if ($nume) {
echo "<action>
<app>survo</app>
<parameters>
<id>$id</id>
<p_t>acct|$randomnumber</p_t>
</parameters>
</action>";
}else {
echo "<action>
<app>survo</app>
<parameters>
<id>$id</id>
</parameters>
</action>";
}

please give me reply my netget not working


__________________


Veteran Member

Status: Offline
Posts: 59
Date: Mar 18, 2010
Permalink   
 

Visu, I don't see that the page you are referring to in the NetGet exists. If you look in your developer log, you'll see that we are getting a 404 back. We can't find that page.

ALso - I woudl recommend editing the above post to remove all proprietary information, like the URL, etc.

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard