【发布时间】:2011-02-19 12:49:11
【问题描述】:
我正在使用 Micah Carrick 的 PHP Paypal IPN 集成类,并且在 paypal.class.php 中有代码:
function __construct() {
// initialization constructor. Called when class is created.
$this->paypal_url = 'https://www.paypal.com/cgi-bin/webscr';
$this->last_error = '';
$this->ipn_log_file = '.ipn_results.log';
$this->ipn_log = true;
$this->ipn_response = '';
但是,该文件并未被创建。我需要做一些特别的事情才能让它工作吗?
如果我需要设置权限,我是在这个还是调用php脚本(包括上面的文件)上设置权限?
【问题讨论】:
-
尝试指定完整路径。你知道前面的
.会隐藏文件吗? -
@Pekka - 非常尴尬的表情是什么!
-
哈哈哈!好问题。 :) 如果解决了问题,我会将其添加为答案。
标签: php paypal paypal-ipn