There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Any web masters out there that can help with an Online poll?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
12-Dec-2004, 07:44 PM #1
Any web masters out there that can help with an Online poll?
Hello All,

This might seem like a tall order, but does anyone know of a copy paste PHP code and MySQL online poll for my web site?

I have been looking around and have found nothing. I plan on taking a class to help with this, but am unable to do it right now.

I know that I cannot copy paste a MySQL, but perhaps I can figure that out.

Thanks and Sorry if it is a stupid question.
Squashman's Avatar
Distinguished Member with 12,590 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
12-Dec-2004, 10:15 PM #2
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
13-Dec-2004, 10:18 AM #3
I just had to put up a poll for a student doing research and used this:
http://phpesp.sourceforge.net/

Of course she comes to me friday and says it needs to be up and running Mon. I had it working inside a couple of hours.
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
13-Dec-2004, 02:06 PM #4
Quote:
Originally Posted by deuce868
I just had to put up a poll for a student doing research and used this:
http://phpesp.sourceforge.net/

Of course she comes to me friday and says it needs to be up and running Mon. I had it working inside a couple of hours.
Thanks! Does anyone know a way around changing the CHMD to 777? My hosting company does not give me access! I should have looked into it further b4 buying..
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
13-Dec-2004, 02:07 PM #5
you should not need to chmod anything to 777. Why are you trying to do this?
Squashman's Avatar
Distinguished Member with 12,590 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
13-Dec-2004, 03:29 PM #6
Quote:
Originally Posted by Azjjg
Thanks! Does anyone know a way around changing the CHMD to 777? My hosting company does not give me access! I should have looked into it further b4 buying..
Many FTP clients have chmod ability.
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
13-Dec-2004, 08:13 PM #7
Quote:
Originally Posted by deuce868
you should not need to chmod anything to 777. Why are you trying to do this?
So the pollers can read,write, and view. Perhaps I am going about this the wrong way. Am I totally off base?

Squashman's Avatar
Distinguished Member with 12,590 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
13-Dec-2004, 09:04 PM #8
Quote:
Originally Posted by Azjjg
So the pollers can read,write, and view. Perhaps I am going about this the wrong way. Am I totally off base?

You should not have to set it to 777 if your hosting company has their Web Server setup correctly. They should have Suexec or CgiWrap installed on the server. That way you only have to set it to 755.
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
14-Dec-2004, 05:35 AM #9
Quote:
Originally Posted by LwdSquashman
You should not have to set it to 777 if your hosting company has their Web Server setup correctly. They should have Suexec or CgiWrap installed on the server. That way you only have to set it to 755.
Either way, I am pretty sure that I cannot change to 777 or 755 at all. Let me try 755 though.

THanks again for your help.
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
14-Dec-2004, 12:36 PM #10
The script I gave you is a php script and all files on a webserver usually default to 755. You should not have to edit permissions. I don't get how you want users to write polls...they should just be checking a box and moving on.

LwdSquashman is right that many ftp clients allow chmod (such as SmartFTP).

how much web experience do you have? Have you played with PHP at all?
__________________
www.ricksweb.info
www.2webheads.com
Quote:
Techies just think a little differently...at least that's what they keep telling me.
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
14-Dec-2004, 02:54 PM #11
Quote:
Originally Posted by deuce868
The script I gave you is a php script and all files on a webserver usually default to 755. You should not have to edit permissions. I don't get how you want users to write polls...they should just be checking a box and moving on.

LwdSquashman is right that many ftp clients allow chmod (such as SmartFTP).

how much web experience do you have? Have you played with PHP at all?
Sorry. I was getting the two confused. I am also working on a guest book. You are right I onnly want people to see the poll and take it.
I have never really used PHP and have about half a year on web developement via Dreamweaver.
Think I am doing pretty good thus far. Check out my site if you like.
www.jamesandcubby.com
Thanks again. I messing with it tonight again.
Squashman's Avatar
Distinguished Member with 12,590 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
14-Dec-2004, 03:29 PM #12
This site is running on an IIS 6.0 server and doesn't look like it is even behind a firewall.
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
14-Dec-2004, 03:41 PM #13
Quote:
Originally Posted by LwdSquashman
This site is running on an IIS 6.0 server and doesn't look like it is even behind a firewall.
???? I have no idea what that even means. Total newbie I guess.
bbeck's Avatar
Junior Member with 3 posts.
 
Join Date: Dec 2004
Experience: Advanced
21-Dec-2004, 03:14 PM #14
http://www.jamesandcubby.com/Diary.htm
in diary.htm

<div id="Layer1" style="position:absolute; width:957px; height:437px; z-index:1; overflow: scroll; background-color: #666666; layer-background-color: #666666; border: 1px none #000000; left: 30px; top: 122px;">
<p class="style6">December 20th 2004</p>

change the "width:957px;" to say 400px
Azjjg's Avatar
Member with 85 posts.
 
Join Date: Nov 2004
Location: West Rainton, United Kingdom
Experience: Beginner
22-Dec-2004, 05:52 AM #15
Quote:
Originally Posted by bbeck
in diary.htm

<div id="Layer1" style="position:absolute; width:957px; height:437px; z-index:1; overflow: scroll; background-color: #666666; layer-background-color: #666666; border: 1px none #000000; left: 30px; top: 122px;">
<p class="style6">December 20th 2004</p>

change the "width:957px;" to say 400px
Perhaps I am totally new again, but why? I like it and would preferr it with a wider screen. Does it take something else away that I am missing?
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:47 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.