如何使用$ _get和$ _post方法从cookie获取值

I tried to get the value in the cookie text format. but the method I used didn't work and I only got a value of empty when I printed the results from $ _get

the command that I use in the cookie.php file:

<?php

if($_GET){
    $cookie = $_GET['cookies'];

    $viewcookie = print ''.urldecode($cookie).'';
    echo $viewcookie;
}  

 ?>

and I run : mydomain.com/cookie.php?cookies="ds_user=valdio_febrilian87;shbid=13249;shbts=1539167642.5681965;rur=PRN;mid=W73VmgABAAFB6MpRXYM8MzTnDcOe;ds_user_id=2122804575;urlgen="{\"103.247.9.57\": 58487}:1gABoY:t5h9TrgdQXNs26d7nGvwIQwV030";sessionid=IGSCe8df617081e527f7fff045fb6ddaec7663f46333502a3d31ae7ae9d8fd76799c%3AE4PAzx1ctNBuGBeOHI39Wf7B3lc59KCB%3A%7B%22_auth_user_id%22%3A2122804575%2C%22_auth_user_backend%22%3A%22accounts.backends.CaseInsensitiveModelBackend%22%2C%22_auth_user_hash%22%3A%22%22%2C%22_platform%22%3A1%2C%22_token_ver%22%3A2%2C%22_token%22%3A%222122804575%3AXO2mE3lxTsam66J9JCxZpMvfPY4qCOIB%3Ae8947c4c397451e5191b3569f172c0fd4f82480f3f03e5c85d232c2c81308047%22%2C%22last_refreshed%22%3A1539167642.569783926%7D;mcd=3;csrftoken=fOHZNyZzmSCmV5ejNa8sDQG5PQDv8bho;"

.htaccess

RewriteEngine On
Options -Indexes

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]

RewriteRule ^list/([0-9a-zA-Z]+)$ /list.php?q=$1 [L]

RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule (.*)$ $1.html [L]

RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule (.*)$ $1.php [L]

RewriteCond %{REQUEST_FILENAME}\.cgi -f
RewriteRule (.*)$ $1.cgi [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^ref/([^/\.]+)/?$ ref.php?id=$1 [L]
RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK|DEBUG) [NC]
RewriteRule ^(.*)$ - [F,L]
RewriteCond %{REQUEST_URI} (timthumb\.php|phpthumb\.php|thumb\.php|thumbs\.php) [NC]
RewriteRule . - [S=1]

ErrorDocument 400 /400.php
ErrorDocument 403 /403.php
ErrorDocument 404 /404.php
ErrorDocument 500 /500.php

ServerSignature Off



# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

and the results only display blank pages