Hello: I would appreciate any help on this that someone might have. A student of mine found this issue. He ftp's a file to a server and looks at it through a browser, there are errors. He uploads the file again, it works fine. I am stumped. Any ideas? Here is the text of the file that he is uploading. Basically, if you add some more text to the bottom and upload it, the page will not generate the proper output.
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Hello, World!</title> </head> <body> <p align="center"><font size="24" face="Arial" color="#4040F0"> <?php // Helloworld.php // This is my first PHP program. include("header.htm"); echo "Hello,World!"; echo "</font>"; echo "<p align='right'><font face='verdana' size='12' color='#123456'>"; echo "<br />Hello,World!"; echo "</font>"; echo "<p align='left'><font face='verdana' size='6' color='#abcdef'>"; echo "<br />Hello,World!"; echo "</font>"; include("footer.htm"); ?> </p> This is a bunch of text that has been added. This is some more text that has been added. <center>Page 1 <a href="includes2.php">Page 2</a> <a href="includes3.php">Page 3</a></center> this is some more text. </body> </html> This is the source for the generated page: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Hello, World!</title> </head> <body> <p align="center"><font size="24" face="Arial" color="#4040F0"> <font face="verdana", size="7" color="123456"> Includes are Cool!!</font> <hr />Hello,World!</font><p align='right'><font face='verdana' size='12' color='#123456'><br />Hello,World!</font><p align='left'><font face='verdana' size='6' color='#abcdef'><br />Hello,World!</font> <hr> <center>Mark Woynarski</center><br> <center>Comp204</center><br> <center>© 2006 Mark Woynarski. Unauthorized redistribution is subject to an ass-kicking.</center> </p> <center>Page 1 <a href="includes2.php">Page 2</a> <a href="includes3.php">Page 3</a></center> this is some more text. </body> </html>er> this is some more text. </body> </html>r> this is some more text. </body> </html> Notice that there are 3 sets of ending body / html tags. If you upload the file a second time, the page is generated with only one set of body/html tags. Any ideas? Thanks in advance. nick [EMAIL PROTECTED] Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php