Home Community Submit Tutorials Downloads Gallery Links Contact FAQ's / Help
  Home
  Submit Tutorials
  Community
  Tutorials
  Fonts
  Templates
  Affiliates
  Photography Corner
  Site Map
  Contact Us
 
Affiliates
  Pixel Apex
  Trick Digest
  Racuda
  Free-Brushes
  Pixel2life
  Photoshopstar
  Tutorialized
  Deviantart
  Majesticlicks
 
Tutorial Categories
3D Studio Max
Adobe Photoshop
Adobe Fireworks
Adobe Flash
Adobe Flex
Adobe Illustrator Adobe Illustrator
Articles Articles
ASP.NET
Corel Draw Corel Draw
Dreamweaver
eCommerce
Gimp
JavaScript
Maya
Microsoft Frontpage
PHP Coding
Swift 3D Swift 3D
Windows Operation
Wordpress
 
Tutorial
Name:
Chemistry Flask
Author:
Vforvectors
Tutorial
Name:
PHP Login Script
Author:
Pixel Digest
 
Search:
Search Example: Orb, Oman3d, Adobe Photoshop or Picture Editing
 
 
PHP Server - Learn how to setup a php server using Dreamweaver 8.
Introduction: In this tutorial I will explain how to setup Dreamweaver as a php server. This will enable you to test your php pages from your computer with out uploading it to a server. This is a great feature that allows you to test and edit your work in less time.
 

Part1: What do I need to setup a server on my computer?
For this to work you will need to have the software below installed.

  1. Dreamweaver 8, this is what I used in the tutorial. I am not sure if you can do this on the previous versions.

  2. Windows XP Professional

  3. (IIS) Internet Information Services has to be installed.

Part2: Preparing my computer.
If you are positive that you installed IIS (Internet Information Services) you can skip this step. To install IIS you will need the windows XP Pro CD. Put the CD Rom in to the tray and it will auto run. Click on Install Optional Windows components.

When you do that it will launch the Windows Components Wizard scroll down until you see the Internet Information Services

 

Click on the Next button and follow the instruction to install it.

Now, click on Start   Control Panel Administrative Tools now double click on the Internet Information Services icon.

 

Right click on Default Web Site click New Virtual Directory

 

Click Next and you will see the Alias window, this name will represent the name of the folder that all your sites will be stored in. So when you preview your site it will load up as  http://localhost/myfoldername/mysite

For the name I would use some thing general, like mysites, mywebpages.

After that, click Next, The Web Site Content Directory window will come up. Click Browse, and Browse to the C:\ Drive, or what ever drive number you are using. Create a Folder called, Inetpub and inside that folder create another folder called wwwroot, Inside the wwwroot folder you will create another folder called phptesting, or what ever your site is. Here is where you will upload the index and images files.

Part3: Start up Dreamweaver.
Start up Dreamweaver and click Site Manage Sites..

and click New Site. Click on the Advanced Tab and you will see the window below. Click on Local Info and fill in the information according to the image.

*I created another folder inside the phptesting folder called images 

Next click on, Testing Server. If you see a message click ok to continue. Fill in the information according to the image below.

 

Next click on Site Map Layout, in the Home Page area type in the directory when you want the index file to be. C:\Inetpub\wwwroot\phptesting\index.php

 

The message below will come up click ok.

Next click ok and Done.

Part4: Testing it out.
Click File New... and click on Dynamic Page PHP and click Create.

After that click on the Windows tab and make sure Databases is checked.

Click on the Shown in the databases tab and click on MySQL Connection.

With that the window below will come up. Fill in the information shown below. You can create your own. 

After that click ok.

Save the page that you are on as, the index.php. Create another php pages and call it news.php or something. We will add some php to the page and see if it works. Click on the News page, write something, and save it. Click back to the index.php page and add the php script below

<?php include("news.php"); ?> 

in between the body tags, it will look like the code below

<body>
<?php include("news.php"); ?>
</body>

You should see it working when ever you change something in the News.php files it will show up on the index.php files.

Finished:
Well that is it. Hope it is what you expected. If you have, any questions or comments feel free to e-mail me or leave a message on the forum. If you are having a hard time with the tutorial email me and I will try to help.

 

This Tutorial was Created By Mark
© 2007 pixeldigest.com. All Rights Reserved.

 
 
Help Support Us
 
 
 
News Updates
PHP Login Script Tutorial
In this tutorial I will explain how to create a php login script using adobe dreamweaver. Its a simple process just follow along and anyone can recreate this example.If you have any problems email us..
 
   

CSS mouse over Table

In this tutorial I will teach you how to create a CSS mouse over Table effect to change the background color of a table using Dreamweaver.
... Read more

 
 
News Update [10/16/07]
Yesterday on the 15th of October my gallery went down for some unknown reason. I was able to get the backup of the images, i just lost all the users. The gallery was not that active but i am sill pissed about what happened. I am in the process of reloading the gallery. Just give me some time and it should be up and running. Yesterday on the 15th of October my gallery went down for some unknown reason. I was able to get the backup of the images, i just lost all the users. The gallery was not that active but i am sill pissed about what happened. I am in the process of reloading the gallery. Just give me some time and it should be up and running.  
... Read More
 
Bookmark This Page
 
 
Untitled Document
Latest Gallery Image
 
Sponsors
Custom Shapes
Custom Shapes
Custom Shapes
 
 

Home | Submit | Tutorials | Forums | Gallery | Fonts | Downloads | Privacy Policy | Affiliates | Sitemap | Contact | FAQ's / Help

© 2005 - 2011 pixeldigest.com