RE: [PHP-DB] It\'s wierd when I\'ve used forms...

2003-08-23 Thread Joe Walker
Thanks, the stripslashes() function worked perfectly!

 -Original Message-
 From: Jacob A. van Zanen [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 22, 2003 5:48 PM
 To: [EMAIL PROTECTED]
 Cc: Joe Walker; [EMAIL PROTECTED]
 Subject: Re: [PHP-DB] It\'s wierd when I\'ve used forms...
 
 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([EMAIL PROTECTED], $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

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



[PHP-DB] It\'s wierd when I\'ve used forms...

2003-08-22 Thread Joe Walker
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([EMAIL PROTECTED], $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


RE: [PHP-DB] [SPAM?] [PHP-DB] Re: That movie

2003-08-19 Thread Joe Walker
Actually, the attached message was sent from a computer infected with a
virus.  There is an unusually high number of messages that fit
symantec's description of some worms out there today.  My best guess is
it is one of these two worms.

http://securityresponse1.symantec.com/sarc/sarc.nsf/html/[EMAIL PROTECTED]
html

http://securityresponse.symantec.com/avcenter/venc/data/w32.hllw.kickin.
[EMAIL PROTECTED]

Joe

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 19, 2003 8:23 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] [SPAM?] [PHP-DB] Re: That movie
 
 This mail is probably spam.  The original message has been attached
 along with this report, so you can recognize or block similar unwanted
 mail in future.  See http://spamassassin.org/tag/ for more details.
 
 Content preview:  Please see the attached file for details. -- PHP
   Database Mailing List (http://www.php.net/) To unsubscribe, visit:
   http://www.php.net/unsub.php [...]
 
 Content analysis details:   (5.20 points, 5 required)
 NO_REAL_NAME   (0.8 points)  From: does not include a real name
 INVALID_DATE   (0.6 points)  Invalid Date: header (not RFC 2822)
 RAZOR2_CHECK   (2.1 points)  Listed in Razor2, see
 http://razor.sf.net/
 DATE_IN_PAST_06_12 (0.8 points)  Date: is 6 to 12 hours before
Received:
 date
 MISSING_MIMEOLE(0.5 points)  Message has X-MSMail-Priority, but no
X-
 MimeOLE
 MIME_BOUND_NEXTPART (0.4 points)  Spam tool pattern in MIME boundary
 
 The original message did not contain plain text, and may be unsafe to
 open with some email clients; in particular, it may contain a virus,
 or confirm that your address can receive spam.  If you wish to view
 it, it may be safer to save it to a file and open it with an editor.



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