A
Anonymous
Guest
---------------------------------------------
This is part of my form Html:
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
 <INPUT class="bluefldclass" TYPE="file" Name="fotopath" Value="" style="width: 240pt"></TD>
</tr>
<TR><td colspan="4" align="center"><br><INPUT CLASS="bluefldclass" TYPE=SUBMIT Name="submit" Value="Continue" style="width: 100pt">
... and the respective Php:
$file_src = $DOCUMENT_ROOT."/fotot/".$HTTP_POST_FILES['fotopath']['name'];
if (is_uploaded_file($fotopath)) {
move_uploaded_file($fotopath, $file_src);
chmod($file_src, 0644);}
The upload doesn't work! It recognizes the name of the file, but it doesn't upload the file.
---------------------------------------------
This is part of my form Html:
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
 <INPUT class="bluefldclass" TYPE="file" Name="fotopath" Value="" style="width: 240pt"></TD>
</tr>
<TR><td colspan="4" align="center"><br><INPUT CLASS="bluefldclass" TYPE=SUBMIT Name="submit" Value="Continue" style="width: 100pt">
... and the respective Php:
$file_src = $DOCUMENT_ROOT."/fotot/".$HTTP_POST_FILES['fotopath']['name'];
if (is_uploaded_file($fotopath)) {
move_uploaded_file($fotopath, $file_src);
chmod($file_src, 0644);}
The upload doesn't work! It recognizes the name of the file, but it doesn't upload the file.
---------------------------------------------