many files?
I am trying to create a login page, the user will need to enter the database login name and password.
The login.php will use the user input and try to connect to the database. If connection fails, it will send an error message to the user. If the connection suceeds, it will point to the main page, where user can choose a table from a pull-down list and edit the table.(such as insert, delete or update record), the database is oracle 9i.
now the problem is all these database operations (insert, delete update) require oracle parameter settings( such as database name, username and password). How can I pass user's correct input (database username/password) at the login.php into other php files such as insert.php, edit.php, update.php?
should I use global variable? how to use it?
any suggestions? thanks!