Solved

/ backslashes are being messed up from form

Posted on 2003-12-09
2
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.  …
This article discusses how to create an extensible mechanism for linked drop downs.
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.

734 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