I cant get my php script to upload a file to the default dir. I have
checked all the php.ini variables and made sure there is a default
temporary dir, as soon as i submit it just reloads the page. this is my
form
<form enctype="multip art/form-data" action="<?php echo
$_SERVER[PHP_SELF]; ?>" method="POST">
<input type="hidden" name="MAX_FILE_ SIZE" value="30000" />
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>
please help me! i dont know what to do!
checked all the php.ini variables and made sure there is a default
temporary dir, as soon as i submit it just reloads the page. this is my
form
<form enctype="multip art/form-data" action="<?php echo
$_SERVER[PHP_SELF]; ?>" method="POST">
<input type="hidden" name="MAX_FILE_ SIZE" value="30000" />
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>
please help me! i dont know what to do!
Comment