Solved

/ backslashes are being messed up from form

Posted on 2003-12-09
2
195 Views
Last Modified: 2010-05-18
hello,
i wrote an email script, the email body comes from a form, everything works (tables, styles) except links and images, the file path is getting messed up, when i receive the email that has a link in it  for example, when i click on the link, my outlook express pops up a warning about not

supporting the protocal for accessing  '\'http://www.website.com\'\'.

so i am guessing that my slashes are messed up.. How do i catch this file in my email script to fix this issue
0
Comment
Question by:jblayney
2 Comments
 
LVL 6

Accepted Solution

by:
DoppyNL earned 25 total points
ID: 9910568
use the function stripslashes on the values coming from the form or turn the "magic_quotes" setting in your PHP configuration to "off"
0
 
LVL 1

Author Comment

by:jblayney
ID: 9912392
i had asked this question 3 times, lol... each time though,  i had a better idea of wht the problem was
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What does this formatting equate to? 7 18
How to fix Datetime in MySQL? 4 48
How to delete values from an array using php 4 22
Wordpress Pagination 1 28
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question