Hello there,

I am using a web(html) page to read an input message from user than that html 
will send the data to another php created by me: that php will do some refine 
work like adding country code to the number, database check….and than the php 
will actual call the http://localhost/xxxxx/sendsms  and the message will be 
sent.  

but whenever a new line character is used in the message box in web page, the 
message don't get delivered, it returns an error code 1.  

please help.  

Things I already know: The spaces from message(from web) has to be converted to 
"+" for that I am using str_replace(" ","+",$message);  everything work fine 
with spaces present  
But I don't know how to treat the new line characters.


--  
Thank you
anurag
+91 99008 35849
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

Reply via email to