Because I don't really understand classes yet, I might be trying to explain something that's not possible or just down right the hardest way to do something.... but here I go anyway (also, I just want to let you know that I've gotten everything I am describing to work, I just want to clean it up and put it inside a class):
- I've got an index page with a basic link on it. The user clicks the link, gets sent to another page to verify access, then comes back with some data.
- Next, I want to take the data they come back with, generate a signed request for a token, request the token, and, just for testing and to make sure it worked, echo the token.
- I've got a list of constant variable stored in a php file I am including, also, but that list needs to make it inside the classes.
I know this is a lot to ask, but I am really having a hard time understanding how I would do this, how to use __construct, how to return variables that are available to be echoed out where I want them.
Any input would be greatly, greatly, tremendously appreciated. I'll be on my aim if anyone feels bored and wants to help.
Again... thanks in advance.