$onload = HtmlSpecialChars($form->PageLoad()); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test for Manuel Lemos' PHP form class to upload a file</title> </head> <body onload="<?php echo $onload; ?> " bgcolor="#cccccc"> <h1><center>Test for Manuel Lemos' PHP form class to upload a file</center></h1> <hr /> <?php if ($doit) { $form->GetFileValues("userfile", $userfile_values); ?> <h2><center>The file was uploaded.</center></h2> <center><table> <tr> <th align="right">Uploaded file path:</th> <td><tt><?php echo $userfile_values["tmp_name"]; ?> </tt></td> </tr> <tr> <th align="right">Client file name:</th> <td><tt><?php
.progress_bar { border-style: none; color: #000000; padding: 4px; background-color: #0000ff; background-image: url(progress.gif); text-align: center; } // --></style> </head> <body onload="<?php echo $onload; ?> " bgcolor="#cccccc"> <center><h1>Test for Manuel Lemos' PHP form class to show upload file progress</h1></center> <hr /> <img src="progress.gif" width="0" height="0" alt="Progress" /> <?php if ($doit) { $form->GetFileValues('userfile', $userfile_values); ?> <h2><center>The file was uploaded.</center></h2> <center><table> <tr> <th align="right">Uploaded file path:</th> <td><tt><?php echo $userfile_values['tmp_name']; ?> </tt></td> </tr> <tr> <th align="right">Client file name:</th> <td><tt><?php