php - Get data from link -
i'm trying unique code link email out. link send "website.com/redeem.php?code=xxxxxxxxxx" i'm trying capture x's in order compare list of codes in text document. help appreciated. knowledge of php little.
the thing knew try:
$code=$_post['code']; echo $code;
what looking $_get
.
$code = $_get['code']; echo $code;
reading material:
http://php.net/manual/en/reserved.variables.get.php http://php.net/manual/en/reserved.variables.post.php
php html url
No comments:
Post a Comment