login
Forgot?
Login with Facebook

Don't have an account? Register one now!

Need PHP to communicate with MySQL for SMS gateway

Bids 
11
Avg Bid
$47 USD
CLOSED
  • Project ID:

    561452
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

Project Description:

I need a quote regarding a simple PHP page that communicates with a MYSQL database. The page will generate a dynamic code that does the following:

Person A - Inputs Name of Recipient, Phone Number and Message and their number.
This information is then input into a database under person A's phone number.
person A is then directed to a page which shows 'thank you your message has been sent'. A Url is then generated for example .com/q=07540422011 which references that informaton within the database and sends this information as a url to the SMS service provider.

Using a form such as:

<script language="javascript">

function limitLength(textarea,maxlimit)
{
if (textarea.value.length > maxlimit)
textarea.value = textarea.value.substring(0, maxlimit);
}

function validate()
{
var Prefix = "0044"

var ToMobile = window.document.SMSForm.ToMobile.value;
var FromMobile = window.document.SMSForm.FromMobile.value;
var ToName = window.document.SMSForm.ToName.value;
var FromName = window.document.SMSForm.FromName.value;
var Message = window.document.SMSForm.Message.value;

// Ensure To-Mobile number is international format & from correct country
if (ToMobile.indexOf(Prefix)!=0)
{
alert(ToMobile + " is not a valid Phone number.");
return false;
}
// Ensure From-Mobile number is international format
if (FromMobile.indexOf("00")!=0)
{
alert(FromMobile + " is not a valid Phone number.");
return false;
}

// Ensure names are filled in
if (ToName.length<3 || FromName.length<3)
{
alert("Your name must be between 3 and 11 letters long.");
return false;
}

// To and from cannot be the same.
if (FromMobile == ToMobile)
{
alert("You cannot send a message to and from the same person");
return false;
}

if (Message.length==0)
{
alert("Your message is blank. Please type a message in the box provided");
return false;
}

return true;
}

</script>

The code generated needs to look like this:
http://web.testsite.co.uk/cgibin/
psmssend.pl?number=44777777771&user=yourusername&pass=yourpassword&message=test
message&pamt=50&network=VODAFONEUK

I've been told for an expert this shouldn't longer than approx 30 min. Let me know what price you can do this for and a timescale. This is just one simple page in PHP (with Javascript) absolutely no design.

Skills required:

Javascript, PHP, SQL

Project posted by:

freesmstexts United Kingdom
(0 Reviews)

Last seen:

Public Clarification Board

1 messages

  • rachitdesign

    Hello

    Please do visit for demo work :

    http://www.rachitdesign.com/demo/portfolio.htm

    Waiting to hear from you, sooner

    Thanks
    Sapkal Kalpesh

    over 2 years ago


If you are the project creator or one of the bidders, please Log In for more options.


All Bids ()

RABSolutions United States
RABSolutions
United States From United States     Offline
$30 in 1 day 
0
over 2 years ago
4.5

1.6

1 Review
100% Completion Rate
See PM. Thanks.
rajaranajitlove India
rajaranajitlove
India From India     Offline
  General Freelancer Orientation (85%, 95th percentile)
  Foundation EUFreelance.com Member
$35 in 1 day 
0
over 2 years ago
5.0

1.1

3 Reviews
33% Completion Rate
Plz see pm for my detailed work
sashiw Sri Lanka
sashiw
Sri Lanka From Sri Lanka     Offline
$40 in 1 day 
0
over 2 years ago
ready to begin
Iwinjoseph India
Iwinjoseph
India From India     Offline
$30 in 1 day 
0
over 2 years ago
0.0

0.0

0 Reviews
0% Completion Rate
I have three year experience in PHP and have done several projects in PHP/My sql. I am confident of doing this task within the timeframe. Hope to hear more from you.
afink Switzerland
face.jpg
afink
Switzerland From Switzerland     Gold Member     Offline
  HTML Level 1 (75%, 73rd percentile)
  PHP Level 1 (80%, 92nd percentile)
  SQL Level 1 (85%, 61st percentile)
  C Programming Level 1 (83%, 93rd percentile)
  Unix Level 1 (93%, 77th percentile)
  Analog Electronics Level 1 (83%, 93rd percentile)
  General Freelancer Orientation (85%, 95th percentile)
  Foundation EUFreelance.com Member
$200 in 1 day 
0
over 2 years ago
0.0

0.0

0 Reviews
66% Completion Rate
Easy job. Given SMS and PHP/MySQL frontends is my daily job since 2001. See Global.AQ and Kannel.org for past work.
andreasgoldstep Indonesia
logo.JPG
andreasgoldstep
Indonesia From Indonesia     Offline
  General Freelancer Orientation (85%, 95th percentile)
$30 in 1 day 
0
over 2 years ago
0.0

0.0

0 Reviews
100% Completion Rate
We ready to finish it. Fast and accurate. THANKS
ranadiplodh123 India
ranadiplodh123
India From India     Offline
$30 in 2 days 
0
over 2 years ago
0.0

0.0

1 Review
0% Completion Rate
Send me more details
renjithtk India
renjithtk
India From India     Offline
$30 in 1 day 
0
over 2 years ago
I have done the similar sms sending options. If you have interested please let me know.
mostidesign Mexico
mostidesign
Mexico From Mexico     Offline
$30 in 0 days 
0
over 2 years ago
Ready to work on this, 30 minute job - as you said. Thank you!
ninetykts Australia
ninetykts
Australia From Australia     Offline
$30 in 1 day 
0
over 2 years ago
Like you said, 30 minute job!
pablogog2 Colombia
picture .jpg
pablogog2
Colombia From Colombia     Offline
$30 in 1 day 
0
over 2 years ago
I can do this