Author Topic: (no subject)  (Read 6367 times)

Xorlak

  • Administrator
  • Member
  • *****
  • Posts: 2225
    • View Profile
    • http://darkagegames.net
(no subject)
« Reply #15 on: April 10, 2004, 09:57:28 AM »
Quote from: "DarkElite"
Hey, just wondering if there is a way for me to create my own poll without having the register somewhere (but if there is a way to get a poll with registering and without paying, tell me please!) ?

You can find several example poll scripts at <a href='http://www.scriptz.com/' target='_blank'>http://www.scriptz.com/</a>.  Some you have to pay for, but there are several free ones as well.

Quote
for anyone who knows PHP, youre able to set variables in the web adress by just doing something like:
Code: [Select]
http://darkforces.mysticsoftware.net/poll.php?vote=$value
or something of that sort?


You can do that, but it has to be a value, i.e.
Code: [Select]
http://darkforces.mysticsoftware.net/poll.php?vote=3
So in order to get that to work with a variable in your webpage (through a link or submit button, etc.) you need to do something like:

Code: [Select]
http://darkforces.mysticsoftware.net/poll.php?vote=<?php echo "$value" ?>
« Last Edit: April 10, 2004, 09:58:00 AM by Xorlak »

DarkElite

  • Member
  • *
  • Posts: 1452
    • View Profile
    • http://cryosoft.mysticsoftware.net/Home.html
(no subject)
« Reply #16 on: April 10, 2004, 10:04:07 AM »
so that would make $vote = $value? cool!

what about the cookie making?
« Last Edit: December 31, 1969, 06:00:00 PM by DarkElite »
DarkElite

Dei vobem omniam proditiverunt.  Iam vobis quis deposcibitis sacrificium rersum vitae est!

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #17 on: April 10, 2004, 05:24:22 PM »
Yum!! Cookie makeing! Razz
« Last Edit: December 31, 1969, 06:00:00 PM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway

DarkElite

  • Member
  • *
  • Posts: 1452
    • View Profile
    • http://cryosoft.mysticsoftware.net/Home.html
(no subject)
« Reply #18 on: April 10, 2004, 05:26:34 PM »
you're kidding right? (i hope you do know what a cookie is...)

but yeah...
« Last Edit: December 31, 1969, 06:00:00 PM by DarkElite »
DarkElite

Dei vobem omniam proditiverunt.  Iam vobis quis deposcibitis sacrificium rersum vitae est!

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #19 on: April 10, 2004, 05:36:22 PM »
Yeah I was makeing a joke! A cookie is one of them things that you get when you visit a site thing....or something to that effect...
« Last Edit: December 31, 1969, 06:00:00 PM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway

Colin

  • Member
  • *
  • Posts: 299
    • View Profile
(no subject)
« Reply #20 on: April 11, 2004, 01:23:51 PM »
A cookie is only resident on your hard-drive. You need to write the data to a file or database on your server.
« Last Edit: December 31, 1969, 06:00:00 PM by Colin »
— Colin

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #21 on: April 11, 2004, 01:26:22 PM »
Oh yeah.... :rolleyes:
« Last Edit: December 31, 1969, 06:00:00 PM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway