Solved

/ backslashes are being messed up from form

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reverse engineer .sql from php files 11 51
Wordpress Query 5 43
Echo'd values in dropdowns 6 28
How to remove  "0":  in a json string 4 11
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

763 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