Registration Agreement Terms

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
pomarja
Forum Newbie
Posts: 7
Joined: Thu Aug 05, 2004 7:51 am

Registration Agreement Terms

Post by pomarja »

Registration Agreement Terms

:) Hello there!

Do anyone know any script in php, including the settings in MySQL where your customer have to accept Registration Agreement Terms before they make their registration?

:wink: Like that one you have in this website http://www.devnetwork.net?

:D //Thanks, Per
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you just have a form, that their registration is denied/not even started if they haven't accepted it.. You don't have to pull the info from mysql though...
pomarja
Forum Newbie
Posts: 7
Joined: Thu Aug 05, 2004 7:51 am

Registration Agreement Terms

Post by pomarja »

Hello feyd in California, how are ya? THANKS!

:oops:I recognized your message in the general discussions.
Sorry I missed to delete my question there when I posted the same question here.

8) I got your message here about the registration page.
Well, I understand the easy way of it, but because of secret
reasons we have to have every movement registrated in the database
together with our customers/users other given information.

:) Hope you understand.

Sincerely,
Per
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

registering movement in the site has nothing to do with a registration agreement.. I don't get it :?
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

He wants a log of where people have been, I think.

Make a database table with a field for user, date, time and page.

Then put something into a common file that all the pages look at that inserts records into that table.
pomarja
Forum Newbie
Posts: 7
Joined: Thu Aug 05, 2004 7:51 am

Registration Agreement Terms

Post by pomarja »

Thanks Grim...

Yes, that is exactly what I mean.

Another example is, which I also refer to in my first posted message,
this particular page where everybody in this forum have to agree a few things to be registrated.
You will find that page here:
profile.php?mode=register

That page is what I'm asking for.

Cheers,Per
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

those are 2 entirely different things.

User history/path tracking is done like Grim suggested.

The ToS agreement is just a thing you toss into the form, and make them check off, or "sign" to continue..
pomarja
Forum Newbie
Posts: 7
Joined: Thu Aug 05, 2004 7:51 am

Registration Agreement Terms

Post by pomarja »

Dear Mr feyd (I guess),

:( I don't know why you don't tell me how I do it instead of always telling me how stupid I am in other words and don't understand how easy everything else is and how everything I ask for are so totally useless.....!??

Your tone are not so funny!

I was friendly in the beginning but after the latest message from you that is totally gone.

:? Thanks!

:wink: Maybe someone else who are more friendly in their tone wants to tell me how.

I can tell you that I am not so unfriendly to passengers who wants to get in the cockpit at my ordinary work and asking, as you probably think, stupid questions.
No questions are stupid enough that I don't want to answer it correctly.

They are very warm welcome.

//Per, Airline pilot, (B-737-800) who also runs an aviation company with website.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I've told you how to do it. I was NEVER saying you were stupid.
pomarja
Forum Newbie
Posts: 7
Joined: Thu Aug 05, 2004 7:51 am

Registration Agreement Terms

Post by pomarja »

No you didnt tell me that I am stupid directly but you actually did it in other terms.

What I meant when I wrote one of my last messages was as the following text in Grims message: -"He wants a log of where people have been, I think. Make a database table with a field for user, date, time and page."

The other thing I meant was as I wrote in my first message and as the following text from my latest message before your strange answer:
-"Another example is, which I also refer to in my first posted message,
this particular page where everybody in this forum have to agree a few things to be registrated.
You will find that page here:
profile.php?mode=register

That page is what I'm asking for.".

And your answer on that was -".. I don't get it".

What I mean is a couple of combinations in the same script which nobody have to tell is stupid. Otherwise is every new idea you or anyone else come up with stupid until that thing are established enough to gives a different objective.
:wink: Think about when the Wright Brothers started to fly in the beginning of the 19th century.No one those years could ever believe that people would today travel every minute 24 hrs a day in 747:s around the earth.

My question is therefore what else do you want from me to be as exactly as possible?
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

Feyd never said you were stupid, and in no way was he implying that. Please do not jump to conclusions based on things you've taken the wrong way.
The point is, you were asking for two things in this topic. The original post was about an agreement page, which we would've easily answered for you, but then you started asking about logging visitor movements, which confused pretty much everyone, because it was hard to determine exactly what you wanted (we still thought you wanted one thing, since it's.. one topic).
Now that we know you want two things, it makes it that much easier to help you.

Registration:
Make two links, one goes to register.php?agree=yes, the other goes to register.php?agree=no.
register.php:

Code: Select all

<?php
if(empty($_GET['agree'])){
header("Location:agreement.html");
}
else if($_GET['agree'] == "yes"){
echo "Agreed to TOS."; //save to db using mysql?
}
else {
echo "Did not agree."; //tell them they need to agree in order to signup? etc
}
?>
pomarja
Forum Newbie
Posts: 7
Joined: Thu Aug 05, 2004 7:51 am

Post by pomarja »

:) Hello LiLpunkSkateR!

Many thanks!

...maybe I taking it the wrong way.
Anyway, no hard feelings from me.

I will try it.

:D Thanks for your help.
Post Reply