Chinaunix首页 | 论坛 | 博客
  • 博客访问: 931838
  • 博文数量: 102
  • 博客积分: 10033
  • 博客等级: 上将
  • 技术积分: 1385
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-20 15:26
文章分类

全部博文(102)

文章存档

2014年(3)

2013年(1)

2011年(1)

2010年(3)

2009年(7)

2008年(3)

2007年(26)

2006年(58)

我的朋友

分类:

2009-09-20 21:26:03

  • Create a directory for the poll to reside. This can be your root web directory if so desired.
  • Unzip the files included in the .zip file to the above directory.
  • CHMOD the addresses.xml and results.xml to 777 (in the /xml directory)
  • Open the results.xml file, and add your polling question, and an entry for each voting item.
  • Set the vote counts in the results.xml file to zero (or, whatever you'd like to start at).
  • Optional: Modify the poll.css file to fit your website's theme.
  • Access the poll at
  • That's it! Please note that there should be at least 1 address entry in the addresses.xml file (loopback of 127.0.0.1 is fine)

» »     Intermediate

A Simple PHP Polling/Voting System

By

Create an IP-logging PHP Polling or Voting System in PHP 5.0

阅读(4956) | 评论(29) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-10-22 15:03:20

http://www.oscommerce.com/ http://www.oxid-esales.com/ http://www.magentocommerce.com/ http://www.opencart.com/ http://www.prestashop.com/ http://www.phpshop.org/ http://www.zen-cart.com/

chinaunix网友2009-10-18 11:39:14

精选:B2C网站 1. www.ebay.com 2. www.ioffer.com 3. www.iofferebay.com 4. www.dhgate.com 5. www.tradetang.com 6. www.linghtinthebox.com 7. www.madeinchina.com 8. www.amazon.com 9. www.yahoo.com 10. beltal.com 11. LinkChina 12. GoodOrient 13. TOMTOP 14. ChinaVasion 15. GlassesShop 16. chinashopgate.com http://www.seeksources.com/b2b/

chinaunix网友2009-10-16 14:08:25

smarty学习简单实例 test.php保存在根目录下 template_dir = "./templates"; //模板存放目录 $smarty -> compile_dir = "./templates_c"; //编译目录 $smarty -> left_delimiter = "{{"; //左定界符 $smarty -> right_delimiter = "}}"; //右定界符 $smarty -> assign('test','OK'); $smarty -> display('test.htm'); ?> test.htm保存在templates目录中 {{$test}} /////////// 运行test.php后,页面出现"ok",表示制作成功,也证明sm

chinaunix网友2009-10-16 09:29:01

XAMPP中默认是安装了Zend Optimizer,但是默认并没有打开Zend Optimizer,要想打开Zend Optimizer,你必须将XAMPP中的以下两个文件: \xampp\php\php.ini \xampp\apache\bin\php.ini 中的zend_optimizer.enable_loader = 0改成1,重启Apache,Zend Optimizer就启动了。

chinaunix网友2009-10-15 14:12:32

query("select title,content from lbucc_news order by id desc limit 5"); while($product = $db->fetch_array($query)) { $product['title'] ; $product['content']; $product_list[] = $product; } include template('news', 'news'); $content = ob_get_contents(); date_default_timezone_set('PRC'); $td = date("Ymd-His",time()); $td