Re: It\'s wierd when I\'ve used forms...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I mean in front of special characters off course :-)

Jack
On Fri, 2003-08-22 at 23:40, Jacob A. van Zanen wrote:
> You'll have to look into stripslashes function (of the top of my head)
> 
> PHP automatically puts slashes around variables
> 
> 
> Jack
> On Fri, 2003-08-22 at 23:35, Joe Walker wrote:
> > I've got a form (for sending mail to a user) and the user input is in an
> > html form using the post method to pass:
> > <textarea name="message" rows="10" cols="80" wrap="virtual">
> > along with some other vars to a php page which sends the message using:
> > mail("username@domain.tld", $msgSubject, $message, "From: $addyFrom");
> >  
> > But if you type:
> > What's it's problem?  I've got flippin' issues!
> >  
> > In the message box, it comes in e-mail as:
> > What\'s it\'s problem?  I\'ve got flippin\' issues!
> >  
> > Escaping every apostrophe.  
> >  
> > How do I have this not happen?   
> >  
> > Thanks in advance.
> > Joe
> 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux