Solved

/ backslashes are being messed up from form

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now