| I would like to write a generic PHP script that can handle data coming
from any form. How do I know which POST method variables are available? <<< |
I need to convert all single-quotes (') to a backslash followed by a single-quote (\'). How can I do this with a regular expression? I'd also like to convert " to \" and \ to \\. | All my " turn into \" and my ' turn into \', how do I get rid of all
these unwanted backslashes? How and why did they get there? >>> |
| << | I need to convert all single-quotes (') to a backslash followed by a single-quote (\'). How can I do this with a regular expression? I'd also like to convert " to \" and \ to \\. | >> |
| I would like to write a generic PHP script that can handle data coming from any form. How do I know which POST method variables are available? | Using PHP | All my " turn into \" and my ' turn into \', how do I get rid of all these unwanted backslashes? How and why did they get there? |