Jump to content

Google voice


dare87

Recommended Posts

I currently have a form in html, but I want it in php so the information is not in the source code.

 

It all works and when you put in the name and number it will call. When you push the call button it goes to a google page that say "ok=true" or "ok=false". Is there a way to make it so that it just stays on the same page that the form is on?

 

Here is the code.

<form action="https://clients4.google.com/voice/embed/webButtonConnect" method="post">
      <input type="hidden" name="buttonId" id="buttonId" value="000000000000000000" />
      <input type="hidden" name="showCallerNumber" id="showCallerNumber" value="1" />
  <p>
    <label>Name
      <input type="text" name="name" id="name" />
    </label>
  </p>
  <p>
    <label>Number
      <input type="text" name="callerNumber" id="callerNumber" />
    </label>
  </p>
  <p>
    <label>
      <input type="submit" name="button" id="button" value="Call Nayliner" />
    </label>
  </p>
</form>

 

This current code will always produce false because I blanked the id value

 

 

Link to comment
https://forums.phpfreaks.com/topic/178061-google-voice/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.