I've recently installed PHP on Mac OS X using the info provided at: http://www.entropy.ch/software/macosx/php/
I'm currently going through Kevin Yanks tutorials before deciding to buy the book.
I've only got as far as passing variables from page to page but it doesn't display. I'm not using open file in Internet Explorer but my IP address:
http://213.105.28.16/~dlogic/tutorial/welcome.htm
I presume its something to do with my installation of PHP as it works on my webspace:
http://www.dimorphism.co.uk/welcome.htm
The code for welcome.htm is:
and the code for welcome.php is:PHP Code:<html>
<head>
<title>Welcome</title>
</head>
<body>
<form action="welcome.php" method="post">
First Name: <input type="text" name="firstname" /><br />
Last Name: <input type="text" name="lastname" /><br />
<input type="submit" value="GO" />
</form>
</body>
</html>
I hope that makes sense, any help greatly appreciated.PHP Code:<?php
echo( "Welcome to our Web site, $firstname $lastname!" );
?>





Bookmarks