constants.php
来自「php源码 php源码参考」· PHP 代码 · 共 30 行
PHP
30 行
<?php// this application can connect via REST (XML over HTTP) or SOAP// define one version of METHOD to choose.// define('METHOD', 'SOAP');define('METHOD', 'REST');// make sure to create a cache directory an make it writabledefine('CACHE', 'cache'); // path to cached filesdefine('ASSOCIATEID', 'webservices-20'); //put your associate id heredefine('DEVTAG', 'DHBIBVFDMBJDL'); // put your developer tag here//give an error if software is run with the dummy devtagif(DEVTAG=='XXXXXXXXXXXXXX'){ die ('You need to sign up for an Amazon.com developer tag at<a href = "https://associates.amazon.com/exec/panama/associates/join/developer/application.html/ref=sc_bb_l_0/002">Amazon</a> when you install this software. You should probably sign up for an associate ID at the same time. Edit the file constants.php.');}// (partial) list of Amazon browseNodes.$categoryList = array(5=>'Computers & Internet', 3510=>'Web Development', 295223=>'PHP', 17=>'Literature and Fiction', 3=>'Business & Investing', 53=>'Non Fiction', 23=>'Romance', 75=>'Science', 21=>'Reference', 6 =>'Food & Wine', 27=>'Travel', 16272=>'Science Fiction' );?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?