Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DREAMWEAVER: HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

PHP MYSQL Dreamweaver MX 6.0 WAMP

Cow Forums : Adobe Dreamweaver

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
PHP MYSQL Dreamweaver MX 6.0 WAMP
by Rohit Jain on Oct 29, 2009 at 3:06:51 pm

Hello guys. I am a newbie to PHP and Dreamwever. I am working on editing an existing php / mysql website which was developed and is being currently being hosted on a web hosting server. I have downloaded all the files using the filezilla client and installed Dreamweaver and WAMP Server for php amd mysql. I have no clue as to where do I start.

Do I need to just setup a new site in dreamweaver and open the index.php page and preview in the browser? I tried that, but it does not display a complete page on the browser. The navigation frame included on index.php via another php file does not appear. I have no clue whats going on.

Also I tried to run the website from http://localhost:8080/ through the WAMP server but I just see the blank page. Do I need to setup mysql separately, or all the downloaded files from the hosting website will already include the mysql database?

Do I need to do something to connect WAMP with Dreamweaver? I did go through the tutorial videos posted in various discussions but all of them explain about building a site from scratch, but I need to work on an existing site which was developed by someone else and hence I am clueless.

I really need help to setup the website on my local computer so that I can move further and start editing it. I am using Dreamweaver MX version 6.0.

I am able to setup Dreamweaver and mysql but I am having problem linking the existing php and mysql files from the already hosted website. I have no clue, which files I need to look for mysql, whether .mysql / .my / .myi and how do I look at the already existing database connections and how do I finally setup all and connections and make the site up and running on my local computer?

Respond to this post   •   Return to posts index

Re: PHP MYSQL Dreamweaver MX 6.0 WAMP
by Fernando Mol on Nov 7, 2009 at 3:34:49 pm

There could be many things.

First, you need to download the web database. Create a database with the same name in your computer and populate it with the data you downloaded.

Then, you need to configure DW to use PHP/MySQL. To do that go to your site definition and in the advanced tab, select "Testing Server".

Server model: PHP MySQL
Access: Local/Network

For the testing server folder it will be different from Mac to Windows. In windows is located in "C:\wamp\www"

If the site was created in DW, the connection code is in an include on a folder called "Connections" and should look like this:

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
// $hostname_data = "mysql.claut.com.mx";
$hostname = "localhost";
$database = "yourdata";
$username = "youruser";
$password = "yourpassword";
$connection = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);
?>


I hope this helps

*Remember to share a link to your site and to rate the posts. This is a free service for you and for us.

Respond to this post   •   Return to posts index

Re: PHP MYSQL Dreamweaver MX 6.0 WAMP
by Rohit Jain on Nov 9, 2009 at 1:23:55 pm

Thanks Fernando. I will try that out.

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]