i try to modify my upload image file..
but when i debug.. the file is empty!??
below is part of my coding
<form name="theForm" method="post" ENCTYPE="MULTIPART/FORM-DATA" action="<?php echo $PHP_SELF; ?>"onsubmit="return Validator(this);">
<input type="file" name="jpegphoto">
<?php
$userfile = $jpegphoto;
echo "file = $userfile";
echo "original = $userfile_name";
echo "size = $userfile_size";
echo "type = $userfile_type";
?>
the results turn out>>
file = /var/tmp//phpToVUB2
original =
size =
type =
anyone know why?