Slashes in emails?

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
DoppyNL

Tue Oct 08, 2002 1:28 pm

you can strip the slashes of the contents with the function stripslashes

Greetz Daan

DoppyNL

Tue Oct 08, 2002 10:52 pm

That function will only remove slashes that are used to escape characters that come after it.
If there is another character it will not be removed.

Another point, if you're message is filled with slashes, then somehow php has run addslashes on it, so you can undo that with stripslashes.

Greetz Daan

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests