Wallogit.com
2017 © Pedro Peláez
this is a Awis Alexa plugins
Alexa 包, (*1)
This sample will make a request to the Alexa Web Information Service using your Access Key ID and Secret Access Key., (*2)
Tested with PHP 5.3.2., (*3)
Steps: 1. Sign up for an Amazon Web Services account at http://aws.amazon.com (Note that you must have a valid credit card) 2. Get your Access Key ID and Secret Access Key 3. Sign up for Alexa Web Information Service at http://aws.amazon.com/awis 4. Uncompress the zip file into a working directory 5. Run, (*4)
php urlinfo.php ACCESS_KEY_ID SECRET_ACCESS_KEY site
If you are getting "Not Authorized" messages, you probably have one of the following problems:, (*5)
Your access key or secret key were not entered properly. Please re-check that they are correct., (*6)
You did not sign up for the Alexa Web Information Service at http://aws.amazon.com/awis. (This step is separate from signing up for Amazon Web Services.), (*7)
Your credit card was not valid., (*8)
If you are getting "Request Expired" messages, please check that the date and time are properly set on your computer., (*9)
翻译:, (*10)
此示例将向Alexa Web信息服务提出请求 使用您的访问密钥ID和秘密访问密钥。, (*11)
用PHP 5.3.2测试。, (*12)
脚步: 1.通过http://aws.amazon.com注册Amazon Web Services帐户 (请注意,您必须持有有效的信用卡) 2.获取您的访问密钥ID和秘密访问密钥 3.注册Alexa Web信息服务,网址为:http://aws.amazon.com/awis 4.将zip文件解压缩到工作目录中 5.运行, (*13)
php urlinfo.php ACCESS_KEY_ID SECRET_ACCESS_KEY网站, (*14)
如果你得到“未授权”消息,你可能有一个 以下问题:, (*15)
您的访问密钥或密钥未正确输入。请重新检查 他们是正确的。, (*16)
2.您没有注册Alexa Web信息服务 http://aws.amazon.com/awis。 (此步骤与签名分离 亚马逊网络服务“)。, (*17)
3.您的信用卡无效。, (*18)
如果您收到“请求已过期”消息,请检查日期 和时间在您的计算机上正确设置。, (*19)