Displaying 3 results from an estimated 3 matches for "txtphonenumber".
2006 Apr 20
5
nil object when you didn''t expect it
Hi,
I''m new to rails and finding it hard to figure out what this error is
referring to. Can anyone help please?!!
NoMethodError in Registeredphone#list
Showing app/views/registeredphone/list.rhtml where line #24 raised:
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.txtForename
Extracted source (around line #24):
21:
2006 Dec 29
0
PHP to call script
...--------------------------------------------------------------------
#get the caller's number from the form
$strCallerNumber = $_POST['txtcallernumber'];
$strChannel = $strCallerNumber;
$strCallerId = $strCallerNumber;
#get the phone number from the posted form
$strExten = $_POST['txtphonenumber'];
$callNumber = $strExten;
#specify the caller id for the call
$strCallerId = "Web will call <$callNumber>";
$length = strlen($strExten);
if ($length == 10 && is_numeric($strExten))
{
$oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection
to...
2007 Jan 02
5
Call connected, cannot hear or speak - $20 for fix
...-----------------------------------------------------------
#Shouldn't need to edit anything below this point to make this script work
#--------------------------------------------------------------------------------------------
#get the phone number from the posted form
$strExten = $_POST['txtphonenumber'];
#specify the caller id for the call
$strCallerId = $_POST['txtcid'];
$length = strlen($strExten);
if ($length == 11 && is_numeric($strExten))
{
$oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection
to host failed");
fputs($oSocket, "Acti...