hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Easy PHP Poll script?
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Easy PHP Poll script?

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-22-2002, 05:25 PM
Chaps Chaps is offline
Junior Guru
 
Join Date: May 2002
Posts: 195

Easy PHP Poll script?


I have checked Hotscripts.com for a full day at work here and tried tons of different scripts...some come up with errors (i don't know php well enough to fix them), some require databases which I do not have access to.

What I need is a simple poll/voting script which does not require a database, written in php where people can vote, and the results will either pop up in a small window, or show up parsed where the poll was...or not come up at all, and require a person to click on a "view results" link.

Anyone got something I can use here? And no, I'm not willing to pay cash...just asking for a little help. It's for a site I'm designing for work so I'm not willing to pay out of my pocket NOR ask them for cash.

Thanx.

Reply With Quote


Sponsored Links
  #2  
Old 08-22-2002, 07:35 PM
JSpired JSpired is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Here?
Posts: 2,560
The Amazing Little Poll is a super simple php script that does what you need. Here's the link: http://www.evert.jervhost.com/LittlePoll/index.html The results come up immediately after voting.

Reply With Quote
  #3  
Old 08-23-2002, 12:15 AM
Chaps Chaps is offline
Junior Guru
 
Join Date: May 2002
Posts: 195
Yeah I tried that one...something happened though that I threw it out...can't remember what cuz I tried like 30 different ones. But i'll take ur advice and try it again. Thanx.

__________________
Lime Drop Marketing!
Web Design | Graphic Design | Logo Design
http://www.limedrop.ca

Reply With Quote
Sponsored Links
  #4  
Old 08-23-2002, 01:18 AM
cerebus cerebus is offline
Newbie
 
Join Date: Aug 2002
Posts: 8
My guess is your PHP error_reporting is set to E_ALL and you are complaining about the notices it writes to the screen.

Regards,
Clarence Eldefors
http://cerebustools.com

Reply With Quote
  #5  
Old 08-23-2002, 01:03 PM
Chaps Chaps is offline
Junior Guru
 
Join Date: May 2002
Posts: 195
yes...that sounds right...when you hit submit, it shows the results, but has like 4 lines of "something not defined on line ###" or something or other. How do I change that?

__________________
Lime Drop Marketing!
Web Design | Graphic Design | Logo Design
http://www.limedrop.ca

Reply With Quote
  #6  
Old 08-24-2002, 07:03 AM
Mark-TFL Mark-TFL is offline
Newbie
 
Join Date: Aug 2002
Location: UK
Posts: 13
To change that, you need to add the following line to the top of your script:

PHP Code:
error_reporting  (E_ERROR E_PARSE); 
If that still doesn't work, I *think* that you can use:

PHP Code:
error_reporting (0); 
Note: The latter will turn off all error reporting.

Hope this helps

__________________
Mark Carruth

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2013-03-27 18:49:54
Whistleblower Site Cryptome Hacked, Infects PCs with Drive-By Exploits Web Hosting News 2012-02-14 14:48:24
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Web Host JaguarPC Adds Auto-Installer Softaculous to Hosting Plans Web Hosting News 2011-07-27 18:55:46


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?