Podcast 4: Your First Site
Installing your first site on a WAMP server (windows, apache, mysql, php). Making your site publically accessible.
For all your syntactical reference, http://w3schools.com
default.html source
<html>
<head>
<style type="text/css">
h1 {color: green;}
</style>
<script type="text/javascript">
function fn(){
alert("Hello World!");
}
</script>
</head>
<body>
<h1>Hello World!</h1>
<input type=button onclick="fn()" value="push me" />
</body>
</html>
Installing and Accessing Your Server
Can run html locally, need a server to send it to other computers
WAMP Setup: Apache, MySQL (Linux Realty, Run Your Own Server Podcast)
LAN access using computer name
cmd->ipconfig vs. http://ipid.shat.net/, your local IP vs your public IP
off-site access using port-forwarding
index.php source
<?php
$myVariable= date("Y/m/d");
echo $myVariable;
?>
Going Live
Domain name registration
Web Hosting
DynDNS