# Dreamweaver, PHP, and my testing server

**URL:** https://forum.kirupa.com/t/dreamweaver-php-and-my-testing-server/64872
**Category:** Uncategorized
**Created:** [September 20, 2004, 11:02pm UTC](https://forum.kirupa.com/t/dreamweaver-php-and-my-testing-server/64872 "2004-09-20T23:02:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![iloveitaly](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@iloveitaly](https://forum.kirupa.com/u/iloveitaly)
#### Post date: [September 20, 2004, 11:02pm UTC](https://forum.kirupa.com/t/dreamweaver-php-and-my-testing-server/64872/1 "2004-09-20T23:02:25Z")

</div>

I have a tesing server on my comp (PHP 4.3.8 and Apache 1.3.29).  
I guess my first question is, can DW parse PHP code from within its ‘design’ view? I would **hope** it can, but its definiatly not working for me…  
Has anybody had any success with this? I have my root folder of my site at [http://127.0.0.1/~myusername/mysitesname/](http://127.0.0.1/~myusername/mysitesname/)  
and it works awesome through the browser, and through the ‘preview in browser’ option in DW, so its not my local server.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 20, 2004, 11:26pm UTC](https://forum.kirupa.com/t/dreamweaver-php-and-my-testing-server/64872/2 "2004-09-20T23:26:22Z")

</div>

it doesnt do it for me, just has the little php tag where i put some code.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 20, 2004, 11:27pm UTC](https://forum.kirupa.com/t/dreamweaver-php-and-my-testing-server/64872/3 "2004-09-20T23:27:24Z")

</div>

ahh darn it, i would’ve thought a huge app like DW would be able to do that…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 20, 2004, 11:28pm UTC](https://forum.kirupa.com/t/dreamweaver-php-and-my-testing-server/64872/4 "2004-09-20T23:28:08Z")

</div>

There is a “live data view” option that allows you to preview the end result of server-side code directly in dreamweaver. It’s next to the view switching options (“code”, “design”, “split”) and it has an icon with a yellow lightning bolt.

If you have the site setup with a testing server enabled correctly then this will give you a live view of the site.

It’s best to test it in the browser though for more accurate results…
