[UPHPU] PHP Session and Comment Question
Dave Simpson
bigbikkuri at gmail.com
Fri May 5 08:16:39 MDT 2006
Hello,
My name is Dave Simpson, I`m new to this mailing list and myself and my
cohort Steve Thompson are trying to build a site for kids to better their
English in Japan. The basic premise is a movie site, and I`m stuck trying to
find tutorials and database questions with the login, session propagation,
and the comments I want the kids to leave about the movies.
Essentially, I want the kids to be able to view the site in its entirety,
but they need to login to be able to post their opinions of the movies and
their comments. The comments will be limited to why they gave the movie the
score they gave, and also a description and why of their favorite scene in
the movie.
My trouble with the login and session propagation is that all the tutorials
I`ve seen online, I`ve looked at codemonkey and phpfreaks, seem to be based
on php that is before PHP4 and uses global variables that are depreciated,
the $HTTP_XXX_VARS variables. I was hoping someone could point me to a more
up to date tutorial, using the new globals ($_GET, $_POST) and or cookies.
As for the comments about the movies and the score, I`m curious if any of
you would have advice on where to store and how to dynamically allocate the
comments. I figure that there are two choices, to keep the comments with
each user, or keep them with each movie. I want the users to be able to see
every comment placed by every user, and also to be able to see all the
comments for each movie. I`m unsure as to which of the two would be better,
and I`m also unsure how to dynamically allocate coloumns to the database for
each row, and be able to search down the list.
If anyone could give me a starting point and or advice on either of these
topics I would be most appreciative.
Many Thanks,
Dave Simpson
More information about the UPHPU
mailing list