Invite Script
PHP AND JAVASCRIPT IS ALLOWED
No other script types
Mysql database:
Table name: invited
Fields in table:
ID
Username
Invited email (email to the invited person)
Invite type: (model or customer)
Secret key (The key used with email to redirect to the signup page)
Used (to the script to check if a key already is used once 0=no 1=yes)
IP: (IP of the invited person)
Terms accepted (user have accepted terms of site)
The user on the site invite a user to signup, this site dont accept signups with out a invitation. so the script must make a secret key in database for validation and could check if already used.
If key not used = 0 the script shall let the signup pass, set used = 1 to , set a cokie that can be read of the signup page.
If the cokie is not set the signup page will generate message: You must fillout the invite form to signup link to the invitepage
User invite form:
All fields is required.
Username:
Email to invite
Type of invitation:
Hiden codegeneration and insert to database on click invite.
Send email to the email provided.
Check if email already is in database.
If not Generate message: Thank you for invite you friend, and send email.
If exist: Generate message: The email is already in our system, so this person already have been invited.
Check form:
All fields is required.
Username : The user who has invited you.
Secret key: The key is in your email if not in your inbox try check you spam folder.
I accept the terms and condition on this site.
If the terms are ticket the script set terms accepted to yes and store the ip
If the terms not ticked the script generates a warning message: You must accept terns and condition to contuinue.
if all is ok the system set used to 1 set cokie and redirect to signuppage.
Admin invite customers to signup
Login for admins to see the invitations
Admin can invite a customer or model to signup
Admin can delete a invitation if there is problem with sign up so there can be maked a new invitation.
[login to view URL] is required and shall have this content:
Database connect:
Mysql host
User
Password
Database
and what else is required for connect to database
Redirect urls:
Signup redirect url: [login to view URL]
Invite redirect url if cokie not set: [login to view URL]
Admin login:
Username: admin
Password: admin
End of [login to view URL]
Full Payment on completion if you satify with the service.
Will provide you quality work, secure and within the timeline.
Looking forward to your reply.