Re: [PHP] Variables that can't be set by query string

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 06:11 PM, James Taylor wrote: > IF a user is logged on, they can post, if not they don't even see the > option. > Instead of doing a SQL query everytime they look at the posts, I was > thinking > of registering a variable called like $true where if they're logged

[PHP] Variables that can't be set by query string

2002-03-01 Thread James Taylor
I have a weblog type script I'm building for a friend where there are main posts then comments - Registered users can post comments, unregistered don't even have the option. I was thinking of making a page where a user logs on, then it registers a session with a few variables like $sid, $usern