I am having a problem, and not sure how to deal with it. Part of my site is done with mostly basic html, and then parts were done with scripting (cgi for the store and bbs, and php for the live help). I would like to find a way that I can post the username in a corner of my pages. The login script for the site is done with php, and encrypted and stored in mysql. I can block users from parts of my site that require they be logged in, but I don't know if there is a way to "print" the username on the pages, and if possible, tie all of the scripts together so that they all use one database instead of separate ones.
Or should I be playing with cookies on this? I'm rather behind the times these days.