5.
In your web browser, enter the following URL and press Return:
http://localhost/~your_user_name/timetest.php
The test page should open and display a time of day.
The specified time is known as dynamic content because it changes every 
time you request the page. Click your browser's Refresh button to generate 
a new page with a different time. 
NO
Looking at the source code (View > View Source in Safari) will confirm that 
TE
the page does not use any client side JavaScript to achieve this effect.
If the page doesn't work as expected, check for the following possible 
errors: 
I
The file does not have a .php extension.
I
The URL contains a typing mistake. Check for errors and make sure 
the filename is not followed by a slash, such as http://localhost/
~your_user_name/timetest.php/. Also make sure you included the tilde 
(~) before your user name.
I
The page code contains a typing mistake.
I
The Apache server is not running. Look in System Preferences, in the 
Sharing category, to see whether Personal Web Sharing is enabled.
After testing and testing the server software, create a root folder for your 
web application. 
Creating a root folder (Macintosh)
After the server software is installed, create a root folder for your web 
application on the Macintosh.
To create a root folder for your web application:
I
Create a folder called MySampleApps in the /Users/your_user_name/
Sites folder.
Apache will process any page in this folder or in any of its subfolders in 
response to an HTTP request from a web browser.
After configuring your system, you must define a Dreamweaver site. 
310 Setup for Sample PHP Site






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

dreamweaver web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved