I am taking a PHP course and the instructor recommended we try setting up a localhost but our textbook has different approach. We where instructed to use LAMP, WAMP or MAMP depending on our system.
I just installed MAMP and running but not sure how is the localhost setup suppose to be, can I just open php file having phpInfo(); and get results. So far FF3 just shows the Header html.
Can someone give me a guide to setting up and able to run my own local server?
Aside from this is it possible to create Flash website using readfile(text.txt); for the content?
I just installed MAMP and running but not sure how is the localhost setup suppose to be, can I just open php file having phpInfo(); and get results. So far FF3 just shows the Header html.
Can someone give me a guide to setting up and able to run my own local server?
PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Hello in PHP</title>
</head>
<body>
<h1>Hello in PHP</h1>
<?
print "Hello, world!";
phpInfo();
?>
</body>
</html>
Aside from this is it possible to create Flash website using readfile(text.txt); for the content?