Welcome to the Ifbyphone Developers zone. This forum provides a place for the community of advanced Ifbyphone users and developers to share ideas, exchange code, and ask questions.  

Additional Resources

Ifbyphone Company Blog - Ifbyphone Twitter Page - Ifbyphone Company Web Site - Ifbyphone Partners Page
Ifbyphone's CEO's (Irv Shapiro's) Personal Blog - Irv Shapiro Twitter Page

It has been brought to our attention that the NEW MEMBER link does not always display in IE7. If you do not see the new member link in the login box on the right, please try another browser. (Firefox works fine.) In addition please note that Phonemashup accounts are completely separate from Ifbyphone accounts.

If you need help fast, call 877 295 5100 to reach the Ifbyphone "Success Team".   (Support is option 2.)

Members Login
Username 
 
Password 
    Remember Me  
Chatbox
Please log in to join the chat!
Post Info TOPIC: Having trouble with netget


Member

Status: Offline
Posts: 9
Date: Mar 14, 2009
Having trouble with netget
  
 


I have worked for two days trying to get a new app to work and so far nothing.  I made  a script that will process telephone payments and it should work.  I tested various ways and finaly striped it down to just the initial verification of the phone number that is keyed in by the user. 

I know that the code below works.  At least it returns what I think it is supposed to for it to go to the next suvo.  The output in the browser when I hard code in the telephone number is :

survo 31861

That should take the caller to survo 31861 right?  Am I missing something here?  The only parameter in the netget is acctphone which is keyed in by the user.




<?php
 
  require ('dbconnect.php');
  require ('phone_functions.php');

  $acctphone = $_GET['acctphone'];

  $phone_function = new telephone_api();
     
  // validate phone number
      $validate = $phone_function->phonevalidate($acctphone);
  // test if phone number is valid
      if ($validate == 1) {
        echo "<action>
                <app>survo</app>
                <parameters>
                <id>31861</id>
                </parameters>
            </action>";

      }else {
        echo "<action>
                <app>survo</app>
                <parameters>
                <id>31851</id>
                </parameters>
        </action>";
      }
      ;
 
  // end switch
  exit;

?>



__________________


Veteran Member

Status: Offline
Posts: 45
Date: Mar 16, 2009
  
 

What is the URL of the php page (if you dont want to share publicly you can email me)

-- Edited by pseguin on Monday 16th of March 2009 09:17:06 AM

__________________
-Phil Seguin
pseguin@ifbyphone.com


Member

Status: Offline
Posts: 9
Date: Mar 19, 2009
  
 

For others out there.  My problem was me-lol.  I had the wrong url in the netget.  If you ever test a app and it hangs up on you, as in phone hang up,  check the url first.



-- Edited by tomdchi on Thursday 19th of March 2009 02:31:56 PM

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Facebook Post to Digg Post to Del.icio.us

This is an open and public forum so Ifbyphone is unable to ensure that all code and suggestions posted to this forum are correct. Please use all code posted here at your own risk. Ifbyphone assumes no liability for code, recommendations and suggestions posted to this forum.

Users and developers will find hundreds of useful posts at the Ifbyphone company blog.