Need for Server
- - PHP files cannot be read/interpreted directly by your browser
- - PHP files are expected to be on a server
- In normal/final conditions:
-
- - PHP files are hosted on a server
-
- - ex. You upload your index.php file on cse104.org/yourDirectory/index.php
- - You (the client) access the server from a URL
-
- - ex. You request cse104.org/yourDirectory/index.html
- For development conditions: need to emulate a server on the local machine