===========================================================
POST Affiliate version 1.3
Copyright (C) 2003-5
Maros Fric, b2b-china.com <affiliate@b2b-china.com>
Official Website: http://www.b2b-china.com/affiliate/user/index.php
Support: via email
===========================================================
Thank you for downloading POST Affiliate version 1.3
THE USE OF THIS SOFTWARE IS COMPLETELY AT YOUR OWN RISK!
--------------------------- GNU License ---------------------------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
------------------------------------------------------------------------------
------------------------------------------------------------------------------
WHY POST Affiliate & History
------------------------------------------------------------------------------
When I was looking for free PHP scripts for affiliate system, I found out
PHP-Affiliate (version 1.2). Firstly I wanted just to customize it and use it,
but soon I realised it is a code of poor quality. It is based on good ideas which
can be reused, but the code had to be rewriten from a big part.
So I improved the code, corrected major security holes and other problems.
It took me 2 days to come out with first version of POST Affiliate, and this is
the result.
It has the same set of features as PHP_Affiliate and some advantages:
- can work if register_variables is Off
- few security fixes (some of them serious)
- better basic design
- better logic and action flow
------------------------------------------------------------------------------
CHANGELOG
------------------------------------------------------------------------------
Changes in POST Affiliate 1.3
- added configuration option for cookie expiry, path and domain
- corrected check1.php to not exit if no referrer is present
- added debug message option to check for errors when registering sales
- added support for more languages:
- swedish (sve.php) by Therese S <tessan_sthlm60@hotmail.com>
- french (fr.php) by RW Media <regisw@rw-media.be>
Changes in POST Affiliate 1.2
- corrected bug that caused that the country was not changed in user profile
- corrected small bugs when displaying text in clicks and sales page
Changes in POST Affiliate 1.1
- corrected small bugs
- added support for more languages:
- italian (it.php) by Luca S. <elsombrero@libero.it>
- chinese (big5.php) by Peter Kuo <service@iwcash.com>
- german (deu.php) by V�llig Unerwartet <unerwartet@austromail.at>
------------------------------------------------------------------------------
How to change default language in POST Affiliate:
------------------------------------------------------------------------------
- it is relatively simple, you only have to edit file affconfig.php, and set
$language to the name of language file.
Example:
$language = "big5.php"; // for chinese
or
$language = "deu.php"; // for german
or
$language = "it.php"; // for italian
------------------------------------------------------------------------------
UPGRADING FROM PHP AFFILIATE v1.2
------------------------------------------------------------------------------
There was no change in database so far, so just copy the scripts. Of course you
should backup first.
The header and footer files were renamed from header.290, footer.290 to
standard header.php, footer.php. Admin has its own set of header and footer files.
There will be some changes in database in the next release in order to make some
new features (see TODO)
UPGRADING FROM PREVIOUS VERSIONS OF POST AFFILIATE (1.0 or 1.1)
- just replace the scripts. Don't forget to keep your old affconfig.php sile with valid configuration, and language file (if you made some changes there).
------------------------------------------------------------------------------
TODO
------------------------------------------------------------------------------
- history of sales and click throughs
- confirmation on serious actions (such as delete)
- better security
- multi language support
- admin can change password
- mass emails to affiliates
- dynamic configuration of amounts, etc.
All those features and much more are implemented in commercial version -
PostAffiliate Pro (http://www.webradev.com/postaffiliatepro/)
If you want to start serious affiliate program, I advice to use commercial version.
It is possible to upgrade from free version to commercial version without
loosing any data.
------------------------------------------------------------------------------
REQUIREMENTS
------------------------------------------------------------------------------
- PHP 4 or higher
- PERL regular expressions support for PHP - it is part of PHP installation in
majority of cases
- MySQL
The program has been tested on UNIX (BSD) and Windows plaforms, and should
work on all platforms where PHP and MySQL are running.
------------------------------------------------------------------------------
INSTALLATION
------------------------------------------------------------------------------
- download and unzip the scripts
- create MySQL database and it's contents.
Assuming you have phpMyAdmin installed:
- Copy the contents of database.sql
- Paste it into the text box on phpMyAdmin underneath "Run SQL query/queries on database affiliates:"
- Press 'Go' and the tables will be created for you.
- Change password of admin;
-- type the following into the same box: ('newpassword' should be your new admin password
UPDATE admin set pass = 'newpassword' where user = 'admin';
- Press 'Go' again and the password will update
- open the 'affconfig.php' file in your favourite text editor
- For $domain, replace "www.domain.com" with the web address to your site.
eg. We would put "www.organicphp.com", you could be "example.domain.com"
or "www.domain.com/~you". Do not end with a forward slash (/) or start with
"http://"
- For $server, replace "localhost" with the address to your MySQL server.
It is nearly always "localhost", although check with your host if unsure.
- For $db_user, replace "username" with the username you have made or have been
given for your MySQL database.
- For $db_pass, replace "password" with the password you need to access your MySQL
database. Make sure you give the username a password, or anyone can enter and
change your database.
- For $database, replace "affiliates" with the name of your MySQL database, this
could be anything, it's up to you (or your host!)
- For $currency, replace "UK Pounds" with the currency that you will be paying your
affiliates in. e.g. US sites may enter "US Dollars".
- For $emailinfo, replace with your email address.
- $yoursitename is simply your site name
- $lang is 'eng.php' - there will be support for multiple languages later
- Save these changes and exit the file
- Next open the file 'check1.php' in your favourite text editor
- For $payment, replace "5.00" in variable $payment with the amount you would like to pay
your affiliates for every successful sale that they have sent you.
If you would like to pay different amou
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
[广告排行]海商网络广告联盟系统_affiliate.rar (51个子文件)
[广告排行]海商网络广告联盟系统_affiliate
海商网络广告联盟系统
install.txt 41B
user
details.php 6KB
contact.php 499B
logout.php 175B
lang
deu.php 3KB
big5.php 3KB
gb2312.php 3KB
it.php 3KB
fr.php 3KB
eng.php 3KB
sve.php 3KB
header.php 2KB
admin
invoice.php 4KB
contact.php 145B
logout.php 180B
header.php 2KB
payout.php 315B
changeclick.php 2KB
summary.php 2KB
reset.php 696B
index2.php 283B
affiliates.php 3KB
banneredit.php 2KB
removeuser.php 589B
footer.php 326B
sales.php 2KB
banners.php 1KB
index.php 2KB
banneradd.php 2KB
clicks.php 2KB
bannerdelete.php 594B
changesales.php 3KB
changepay.php 316B
footer.php 1KB
signup.php 13KB
sales.php 2KB
thankyou.php 398B
banners.php 2KB
index.php 2KB
db_fns.php 307B
members_service.php 3KB
clicks.php 1KB
members_only.php 1KB
countries.php 6KB
index.php 33B
check1.php 1KB
afftest.php 75B
license.txt 15KB
affconfig.php 2KB
affiliate.php 954B
readme.txt 11KB
共 51 条
- 1
资源评论
大黄鸭duck.
- 粉丝: 2958
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功