How to get parameters from a coded URL through get

Source: Internet
Author: User
How to get parameters from a coded URL through get

Want to $_get from this link to the three parameters of ID server_id and sign
How does the PHP file that receives the parameter need to process this link first?

Can you be a little more specific?
I'm a rookie, thank you. decoding URL PHP

reference: PHP code?12$str = " 3df44f5ac51cbc95e13102cd5657082dc6 "; Echo UrlDecode ($STR);
Through $_get, it should be accessible.

The parameters to be obtained are dynamic, each time

$a = Explode (' & ', $QUERY _string);
$i = 0;
while ($i < count ($a)) {
$b = Split (' = ', $a [$i]);
Echo ' Value for parameter ', Htmlspecialchars (UrlDecode ($b [0])),
' Is ', Htmlspecialchars (UrlDecode ($b [1])), "
\ n ";
$i + +;

This is an example of a handbook.
Var_dump (($_server[' Request_uri '));
Var_dump (($_server[' script_name '));
$str = UrlDecode ($_server[' query_string ');
Parse_str ($str, $get);
Var_dump ($get [' sign ']);
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.