Sponsored Content
Full Discussion: Unex
The Lounge War Stories Unex Post 302935361 by Scrutinizer on Sunday 15th of February 2015 10:41:45 PM
Old 02-15-2015
I once was called by someone from a helpdesk if I knew something about "the unix". I then acknowledged that I was indeed somewhat versed in "the unix" and that I could probably be of assistance..

Last edited by Scrutinizer; 02-16-2015 at 01:08 AM..
 
URLDECODE(3)								 1							      URLDECODE(3)

urldecode - Decodes URL-encoded string

SYNOPSIS
string urldecode (string $str) DESCRIPTION
Decodes any % ## encoding in the given string. Plus symbols (' +') are decoded to a space character. PARAMETERS
o $str - The string to be decoded. RETURN VALUES
Returns the decoded string. EXAMPLES
Example #1 urldecode(3) example <?php $query = "my=apples&are=green+and+red"; foreach (explode('&', $query) as $chunk) { $param = explode("=", $chunk); if ($param) { printf("Value for parameter "%s" is "%s"<br/> ", urldecode($param[0]), urldecode($param[1])); } } ?> NOTES
Warning The superglobals $_GET and $_REQUEST are already decoded. Using urldecode(3) on an element in $_GET or $_REQUEST could have unex- pected and dangerous results. SEE ALSO
urlencode(3), rawurlencode(3), rawurldecode(3), RFC 3986. PHP Documentation Group URLDECODE(3)
All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy