salutations!
I am a self taught programmer. I am moderately competent with javascript, and moving into PERL.
I hope this isn't a stupid question but I have been googling, and reading tutorials for two days now, and i just can't seem to get this done.
I have a form(survey) that sends three things to a perlscript
1) the users IP
2) the time of day
3) the users choice (in the survey)
It can be seen here:
http://www.liveaudiomag.com/survey.shtml
If you make a choice and click submit, you will be taken to a page that displays the info gathered. I did that just to see if I was getting the info.
Now what I need is to put the ip, and time into a hash and then write it to a file.
for $i (param()){
%stuff = ("$i"=>"param($i)");
}
open (INFO, ">>results.txt");'
print INFO %stuff;
so that later I can scan the file for their ip if it's in there then i can see if they have voted within 24 hrs, and display a message (can't vote more than once during 24 hrs.)
if it's not there just write it.
ANYWAY I am having all kinds a problems.
I am using ActiveSate perl for win32 to test my script on my PC, the server I use is Linux based.
What I need is a "real person" to bounce ideas off and disscus this script with.
I am only asking for this as a one time thing. I think there are just some inherent missunderstandings here. If i can get this program to function properly. I will have conquered enough challanges to be able to write the scripts on my own from here out.
I just need a little help on this (my first) script?
anyone?
Anyone available (by email, chat, ect...) for a couple days of corresspondance to help get this newbie perl scripter off the ground?
thanks!!