Connecting to the Databases


For each application, there is a file (for example, opendbq.php) that makes the connection to the database and is included (using the require command in the case of PHP, or the include instruction in the case of ASP). These files each need to be changed to work on the reader’s local computer (set up to be the server) or on the remote server. This includes the use of passwords. See Appendix A for an example. The ASP applications assume that an Access database is created and uploaded to the server. The PHP files include code to create tables in a MySQL database already created by the server administration, or by using MySQL in command-line mode on the local computer.




Creating Database Web Applications with PHP and ASP
Creating Database Web Applications with PHP and ASP (Charles River Media Internet & Web Design)
ISBN: 1584502649
EAN: 2147483647
Year: 2005
Pages: 125
Authors: Jeanine Meyer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net