Page 1 of 1
Need Help with Php/html Code
Posted: Thu Sep 13, 2007 9:54 pm
by riverdale
I am looking for a script or info on writing a script that would allow someone to submit a form once per day and per ip address as well as if the person select for example "NO" they would be directed to a particular page and if they select "YES" to another page. I need your help guys. Thanks
Posted: Thu Sep 13, 2007 9:57 pm
by Zoxive
Forum Rules wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
Before Post Read: General Posting Guidelines wrote:7: Write a clear subject line, it'll help people deciding whether to look at your post or not - 'help, PHP noob' is probably going to be ignored by some.
8: Don't just post - 'This doesn't work' - tell us exactly what doesn't work and make sure to include any error messages you're getting
We are not here to do your work, we are here to help.
So if you would like some help, please follow the Forums rules, and actually post some code or problems you are having.
Posted: Thu Sep 13, 2007 10:45 pm
by Burrito
I'm not sure what you mean by submit once per day. Do you mean the user would only be allowed to submit once per day, the form will be on some kind of cron that will submit once per day...we need more info for this.
as for moving them to different pages, take a look at
header()
Posted: Fri Sep 14, 2007 2:12 am
by riverdale
Burrito wrote:I'm not sure what you mean by submit once per day. Do you mean the user would only be allowed to submit once per day, the form will be on some kind of cron that will submit once per day...we need more info for this.
as for moving them to different pages, take a look at
header()
Thanks for helping, I need for the user to be able to only submit the form once per day.
Posted: Fri Sep 14, 2007 2:23 am
by s.dot
That would involve storing a timestamp, and some calculations.