Need Help with Php/html Code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
riverdale
Forum Newbie
Posts: 2
Joined: Thu Sep 13, 2007 9:51 pm

Need Help with Php/html Code

Post 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
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post 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.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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()
riverdale
Forum Newbie
Posts: 2
Joined: Thu Sep 13, 2007 9:51 pm

Post 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.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

That would involve storing a timestamp, and some calculations.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply