Hello there,

I want to integrate Way2SMS API in my project .I downloaded the API and used it.
I have my account in way2sms.But I get error as "Invalid Login".

Here is my main form

<center>Send SMS</center>
<form method="post" action="sendsms.php">
Enter mobile no:<input type="text" name="uid"><br><br>
Enter pass:<input type="password" name="pwd"><br><br>
Enter mobile no:<input type="text" name="phone"><br><br>
Message:<textarea row="3" column="2" name="msg"></textarea>
<input type="submit" name="submit" value="Send">


And the main files are

sendsms.php  : - http://pastebin.com/jkmb9Rb3

way2sms-api.php :- http://pastebin.com/1SQjYu0P

Kindly check and help me to rectify my errors.