Is there a different function for this, or am I just doing something wrong?
-IMP
Moderator: General Moderators
Code: Select all
echo '<HR><PRE>'; print_r($_FILES); echo '</PRE>';In XHTML1.0, doesn't the HR have to be closed?hawleyjr wrote:Yeah give it a try. When you upload the file(s) use the following code to view the contents of the variable $_FILES:
Code: Select all
echo '<HR><PRE>'; print_r($_FILES); echo '</PRE>';
Code: Select all
Array
(
)I'm not sure how you got on the subject of XHTML...theda wrote:In XHTML1.0, doesn't the HR have to be closed?hawleyjr wrote:Yeah give it a try. When you upload the file(s) use the following code to view the contents of the variable $_FILES:
Code: Select all
echo '<HR><PRE>'; print_r($_FILES); echo '</PRE>';
Code: Select all
<form name="e;myform"e; method="e;get"e; action="e;http://home.ripway.com/2005-6/328190/uploadtest.php"e;>
<input type="e;file"e; name="e;fnamep"e;>
<input type="e;submit"e;>Code: Select all
<form action="e;gohere.php"e; method="e;post"e; enctype="e;application/x-www-form-urlencoded"e; name="e;form1"e;>Code: Select all
<form name="e;myform"e; method="e;post"e; action="e;http://home.ripway.com/2005-6/328190/uploadtest.php"e; enctype="e;application/x-www-form-urlencoded"e;>
<input type="e;file"e; name="e;fnamep"e;>
<input type="e;submit"e;>Code: Select all
enctype="e;multipart/form-data"e;