Forum Moderators: coopster & phranque

Message Too Old, No Replies

1.perl server cookies & 2.getting votes

         

flashman

6:01 pm on Jun 17, 2003 (gmt 0)

10+ Year Member



1. How in perl i can use server variables like PHP session vars?
2. I want create simple voting. But i must check for user from the same computer cannot be vote more than 1 time and no use checking local cookies. How i understand IP is generated every time dinamycally. So what i gonna do?(Perl,PHP)

Help please.

jatar_k

6:17 am on Jun 18, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



do you use perl then?

Your questions make it seem like you are more familiar with php. Is it not an option to use it?

I don't know how perl handles sessions.

Cookies may be the best option for making sure people only vote once. Maybe a combination of a cookie and storing their IP may give you the maximum chance of success.

flashman

1:52 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



Thanx Jatar_k

I more familiar with php... But i must know Perl:)(i want learn as many languages as i can:)(not joke). By the way i creating some sites from some providers. First one allow access to PHP, second one give access only to Perl:). Even perl without access to MySQL or any databases:).

I created simple news admin options, now i need voting(Perl). And I don't know what is need to create shop in perl?(if it is impossible create normal shop) How can I handle user's choices?

For voting:

I think that way but i guess that anyone propose some ideas:).