CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Cant connect php and access

Print topic Send  topic

Author Message
eguven
Posted: 08/01/2002, 10:42 PM

I set up IIS 4.0+ ,Office XP, PHP with a win32 installer.I can see the php coded pages with CCS but can not retrieve data from database. I do not know much about php and database tables relations.

Please HELP!!!
Alex Alexapolsky
Posted: 08/02/2002, 5:28 AM

What database do you want to connect to ?
Have you already created a few forms in your CCS pages ?
eguven
Posted: 08/02/2002, 5:48 AM

I made the project in the tutorial.I see the login page if I enter username and password ccs can not connect to intrnet database, I really know nothing about databases and php configuration
Nicole
Posted: 08/05/2002, 7:06 AM

Hello,
as you know CCS requires two connections for the db: one is for design time and another is for live site.
I assume that you have already established it (if no, please refer to CCS tutorial that could help. The link is available at: http://support.codecharge.com/tutorials.asp)

Live site connection.
you should use ODBC connection to Access db. PHP should be installed with ODBC support.
Check the configuration of the php.ini file and see if support for ODBC is included. If yes, the lines related to ODBC should be enabled (uncomment them). If not, you will need to install support for the databases. Please refer to the PHP documentation on how to achieve this.

Then create DSN to Access db on server where you upload generated files. DSN should points to correct Access db.
In CCS server side connection settings define:
Database Name: dsn_name
Login: db_login
Password: db_password
Host: host_name or IP
Database Type: ODBC
DataBase: Access




   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.