|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Removing backslashes from form contents
Hi -
When my form results arrive at my designated e-mail address, I get backslashes accompanying all the apostrophes and quotation marks. Any way to correct this? Example: it\'s, hasn\'t I'm new to PHP, so it's got to be pretty easy for me to implement - I just tweek the variables and cross my fingers... it's worked so far. Here's the code: <? include ("common.php"); ?> PHP Code:
common.php script: PHP Code:
If you need more info, let me know. Thanks! Robsta ![]() |
|
#2
|
|||
|
|||
|
PHP Code:
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
Thanks Laidbak.
Robsta - ![]() |
|
#4
|
|||
|
|||
|
Anytime Robsta...
|
|
#5
|
|||
|
|||
|
You can also set this up to work across multiple platforms (ie: one server has gpc enabled and you use the same app on another that has it disabled):
PHP Code:
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#6
|
|||
|
|||
|
Thanks jpenn -
I'll give it a try tomorrow. Robsta ![]() |
|
#7
|
|||
|
|||
|
Also if you are looking at parsing form data, you may want to check SafeExtract
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Removing backslashes from form contents |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|