PHP What type of operation is needed when passing values through a form or an URL? June 14, 2015 Pramod T P Leave a comment If we would like to pass values througn a form or an URL then we need to encode and to decode them using htmlspecialchars() and urlencode().