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 wier

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

2003-08-22 Thread CPT John W. Holmes
From: "Jacob A. van Zanen" <[EMAIL PROTECTED]> > You'll have to look into stripslashes function (of the top of my head) > > PHP automatically puts slashes around variables PHP automatically escapes quotes in incoming form data when magic_quotes_gpc is enabled. If you do not want then, then either

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

2003-08-22 Thread Jacob A. van Zanen
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 wrot

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

2003-08-22 Thread Jacob A. van Zanen
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: > > al

[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: 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'