========================================
DRBPoll
http://www.dbscripts.net/poll/
By Don B
Version 1.8
========================================
Requirements
------------
PHP 4.4 or higher
Apache HTTP Server (recommended)
* It is strongly recommended that register_globals be set to off
in your php.ini file.
* AllowOverride must be enabled for the directory where the poll
script is installed in your Apache httpd.config file.
Installation
------------
1) Extract the ZIP file into the desired destination folder on your website.
Optionally, you may rename the "poll" folder to whatever name is
desired; you will need to change the POLL_URL variable in config.php,
and the include path in example.php to reflect this change.
2) Modify the settings in config.php to match your environment and desired
configuration. This is where you will define your polls; some example
polls are included for reference. Detailed descriptions of the settings
are included in the comments within that file.
3) Confirm that the "/data" subfolder has write permissions enabled.
4) Add the poll code to the desired PHP pages on your website. The included
example.php file demonstrates how to do this.
Upgrade
-------
If you are already running DRBPoll and need to upgrade to the latest
version, you must perform the following steps.
1) Backup your config.php file, the contents of your "data" folder, and any
files in the "template" directory that you have customized.
2) Extract the ZIP file into the desired destination folder on your website,
overwriting the existing files. If you renamed the "poll" folder,
you may need to copy the files into the correctly named folder.
3) Replace your config.php file, "data" folder contents, and any customized
template files that you backed up.
Uninstall
---------
You can uninstall DRBPoll by following the steps below.
Please note that ALL DATA WILL BE LOST if you uninstall!
1) Delete the subfolder where you put the DRBPoll
files from your webserver.
2) Remove any references to DRBPoll from the pages in your website.
Customization
-------------
The included example.php file demonstrates how to add a poll form to almost
any ordinary PHP page. See config.php for the available customization
options. Also, you are free to customize the files in the template folder.
These files control what is displayed after the rating form is submitted, and
when the "current results" link is clicked.
Modifying the PHP files other than config.php, and those inside the template
folder is not recommended, as this may make it difficult or impossible to
upgrade to newer versions of DRBPoll in the future.
Flat File Database
------------------
DRBPoll stores its data in a flat file database (i.e. text files).
It is highly recommended that you make back up copies of these files
on a frequent basis. These files can be found in the "data" folder.
License
-------
To use DRBPoll free of charge, all that I ask is that the "Powered by..." and
links at the bottom of the results page not be removed or altered.
You may not distribute code modifications to DRBPoll without permission from
the author.
DRBPoll is provided "as is", without warrant of any kind, either
expressed or implied.
The author is not liable for anything that results from your use of this code.
没有合适的资源?快使用搜索试试~ 我知道了~
PHP实例开发源码—DRBPoll简单投票系统.zip
共17个文件
php:9个
html:3个
htaccess:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 39 浏览量
2022-11-14
02:27:30
上传
评论
收藏 15KB ZIP 举报
温馨提示
PHP实例开发源码—DRBPoll简单投票系统.zip
资源推荐
资源详情
资源评论
收起资源包目录
PHP实例开发源码—DRBPoll简单投票系统.zip (17个子文件)
132678419717932722
README.txt 3KB
.htaccess 204B
example.php 2KB
poll
poll.php 14KB
config.php 5KB
data
.htaccess 15B
index.html 0B
index.html 0B
vote.php 1KB
results.php 770B
class.php 1KB
template
.htaccess 56B
index.html 0B
failure.php 809B
styles.css 2KB
results.php 762B
success.php 792B
共 17 条
- 1
资源评论
毕业_设计
- 粉丝: 1944
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功