0 Пользователей и 1 Гость просматривают эту тему.
urldecode(PHP 3, PHP 4 )urldecode -- Decodes URL-encoded stringDescriptionstring urldecode (string str)Decodes any %## encoding in the given string. The decoded string is returned. Example 1. Urldecode() example$a = split (\\\'&\\\', $QUERY_STRING);$i = 0;while ($i < count ($a)) { $b = split (\\\'=\\\', $a [$i]); echo \\\'Value for parameter \\\', htmlspecialchars (urldecode ($b )), \\\' is \\\', htmlspecialchars (urldecode ($b [1])), \\"\\"; $i++;}
ДОкументация рулез Цитировать urldecode(PHP 3, PHP 4 )urldecode -- Decodes URL-encoded stringDescriptionstring urldecode (string str)Decodes any %## encoding in the given string. The decoded string is returned. Example 1. Urldecode() example
urldecode(PHP 3, PHP 4 )urldecode -- Decodes URL-encoded stringDescriptionstring urldecode (string str)Decodes any %## encoding in the given string. The decoded string is returned. Example 1. Urldecode() example
$t=\\"%EF%F0%EE%E2%E5%F0%EE%F7%EA%E0\\";echo $t;echo \\"\\";echo urldecode ($t) ;?>
Хм.У меня, например вот такой код великолепно работает.Код: [Выделить]$t=\\"%EF%F0%EE%E2%E5%F0%EE%F7%EA%E0\\";echo $t;echo \\"\\";echo urldecode ($t) ;?>
у меня урл был вроде: %D0%B0 = \\"а\\", %D0%B1 = \\"б\\" и так далее...