Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hoping to use DW CS5 to view PhP Site on my Hard Drive? 1

Status
Not open for further replies.

wjgrayson

Technical User
Jun 1, 2004
75
US
First off, if you can send me any pertinent links, I'd appreciate it. I've used this forum before for javascript issues, but I don't know exactly what to enter in the search terms to help me with my current problem. Here goes:

I can read and code HTML & CSS. I understand Javascript well enough to know I need a bit more programming background, but I can link a js script to an html page and know what getElementbyID(xxx)stands for and how to work with event handlers. Two years ago I took a course on Dreamweaver CS3 and Coldfusion and understand the principles of server applications. My PhP class doesn't start until next week. So. . . . . .

I was asked to see if I could update a simple logo for a web page. I have the ftp information stuff and use filezilla. I copied the entire site to my hard drive. I then noticed they were PhP files. The actual graphic file is in a separate footer file. Cool. I recognized from the code to go check the footer file know how to change the source code to point to a new graphic image. Here's the problem:

I would like to view the index page as it would appear in a a browser, and am having no luck. I'm trying to use DW CS5 as a simple tool to view the index page (that will also serve up the footer file) so I can see how the artwork will look with all CSS styles applied. Can someone either assist me or point me to a tutorial that will help me set up my CS5 site definition for a local server configuration to view the site I've copied over to my hard drive? DW won't render the pages unless I configure the testing server correctly. Ummmm, two years ago I did load WAMP, and have some version of mySQL installed on my machine but I need a refresher course on connecting databases. Again, I just want to view the PhP pages in a browser so I can check the logo display and placement. I won't be adding any recordsets or doing any database calls.

Oh. Important. The site is copied locally to a special folder on my hard drive. If these are PhP files, should I move them to a subdirectory associated with WAMP before I'm able to connect? It's all coming back like a bad dream, but I think that's one step I should take. Thanks.

Thanks in advance,
W
 
If you have WAMP loaded and running, place all the files inside the inside the wamp folder, and then attempt to access the files through the browser as:

http://[red]localhost[/red]/nameofpage.php

This should let you connect to the wamp server and have it run the PHP pages. PHP is a processed language, so you need to run it through th PHP parser to get it to work. DW CS5 to my knowledge can't do it directly, but having wamp installed should let you run it as if it were a site online.





----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top