[PHP-DB] Sessions and Frames

2001-10-17 Thread TJayBelt
I have a site that is successfully using sessions and authentication. However, I am working on another site, and it uses Frames. The first site does not use frames, so including the unit that has the session stuff first works. But on the frames site, it gives the following error : 'Cannot ad

[PHP-DB] Re: PHP Code is Needed

2001-10-17 Thread TJayBelt
Do you have a host for your database and web pages? Are you wanting people to give it to you, or willing to contract someone to develop it for you? Wanna describe more of what you need? "Moi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Basically I wnat to p

Re: [PHP-DB] RE: eof

2001-10-17 Thread TJayBelt
I added some of these types of functions, into my own php functions, so I can call them when I want to. here is some examples: if ( !$DEFINED_DATABASE ) { $DEFINED_DATABASE = 1; function DatabaseConnect() { if ( !($dbh) ) { $dbh = mysql_pconnect("localhost"

[PHP-DB] Session and authentication questions in frames

2002-01-15 Thread TJayBelt
I have a successful website with authenticatin and logons. There are sections that I allow anyone to get to, but the others have to be authenticated. This site is not using frames at all. its a page by page, with the unit that does the authentication and sessions being included in each page. I

[PHP-DB] Re: Session and authentication questions in frames

2002-01-16 Thread TJayBelt
I realized that I was not doing a page_close(); In the other site, there is a footer that all pages use, that automatically does this for me. I just forgot it. It had nothing to do with frames. Just a dumb thing that I forgot. "Tjaybelt" <[EMAIL PROTECTED]> wrote i

[PHP-DB] phplib authentication questions

2002-01-16 Thread TJayBelt
I use phplib's session management and authentication. Adding my own info into it where necessary. So, it does ask to login when appropriate. However, every once in a while, I get errors in insert. Its an error in the table with a duplicate entry. Its trying to insert a record that is already t