Invalid content type: text/html | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through January 23, 2007 ⬆ |
◄ ► |
Author | Message | |||
Arjun Kumar Parsi New member Username: Arjunpar Post Number: 5 Registered: 04-2006 |
Hi , I tried 2way sms using the script which is given by you in the discussion Boards. Which is <?php $sender = $_GET['sender']; $msgtext = $_GET['msgtext']; header("Content-Type: text/plain"); print ("Hello $sender, thank you for your message\r\n"); ?> But when i use it, i try it i get reply sms "Command not completed. Request returned invalid content type: text/html" Plz help me what to do | |||
Malcolm - Now Support Moderator Username: Malcolm Post Number: 113 Registered: 12-2006 |
Hi Arjun, Move the "header" function to be the first line of the script. -- Malcolm Now Wireless Support |