Solved

/ backslashes are being messed up from form

Posted on 2003-12-09
2
198 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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

726 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