Page 1 of 1
What should I use?
Posted: Fri Dec 05, 2008 11:37 am
by Locura
I'm very new to PHP but I am learning. The site I am working on putting together I need to have clients log into the secure site. Once logged in they will be able to view information that is unique to them, no one else should be able to see their data. I have put together the PHP code for a login

Now I am at a loss as to do I build this is code from scratch or is there a set of Frameworks out there now. As I said I am very new to this and any tips or ideas would be a great help.
Re: What should I use?
Posted: Fri Dec 05, 2008 1:20 pm
by jaoudestudios
You could use a framework like cakephp for the login system, however this might be overkill for what you need. You could easily write a simple auth system yourself.
Re: What should I use?
Posted: Fri Dec 05, 2008 1:37 pm
by airy
it's simple to auth user,just like
Code: Select all
if(($user=="jack") and ($password=="ROse")) {
echo "my heart will go on";
}
so, Do you mean how to show the "unique data"?
Re: What should I use?
Posted: Fri Dec 05, 2008 1:49 pm
by Locura
In my test environment I have built a login system. It is up and working. I have a few user accounts and each account can log in. They all go to the same log in success page. I need to set it up so Joe see the flash content for his information, and Same would see his flash information. Building the flash is being pulled from an outside program (Xcelsius). What would be the best path to pick from here to get each user seeing his information and not having them all land on the same page?
sorry I guess my first post was not the clearest.
Thanks
Re: What should I use?
Posted: Fri Dec 05, 2008 1:51 pm
by John Cartwright
Locura wrote:Building the flash is being pulled from an outside program (Xcelsius). What would be the best path to pick from here to get each user seeing his information and not having them all land on the same page?
I'm not familiar with Xcelsius. Where does it store it's data? Perhaps a database, such as mysql? or does it provide an REST API or something?
More info please.
Re: What should I use?
Posted: Fri Dec 05, 2008 2:38 pm
by Locura
Xcelsius builds flash content from Crystal Reports, or Excel. I am connecting the output from Xcelsius and putting it up so that clients from all over the world can log in and see information. The data is pulled from our database and Xcelsius in turn formats it in a flash (swf) chart layout.
http://resources.businessobjects.com/su ... alysis.swf is an example of what Xcelsius out put looks like.