0

How can i encode urls in a safe way in order to use them in a mail header "location" in php?

Is urlencode enough? May I use rfc2231_encode?

Community
  • 1
  • 1
Juanjo Conti
  • 28,823
  • 42
  • 111
  • 133

1 Answers1

0

I have never had a problem using urlencode and urldecode

David Cooke
  • 141
  • 1
  • 7