[phplib] RE: [PHP] file upload From: Shashank Tripathi (admin <email protected>)
Date: 11/12/00

Try this:

----------------------------

<html>
<body>
<font face=verdana size=1>
<?
If ($userfile_size <> 0)
{
    echo ("File uploaded: $userfile_name (<b>$userfile_type</b> --
$userfile_size bytes)");
}

?>

<form enctype="multipart/form-data" action="<?print($PHP_SELF);?>"
method="POST">
    <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000">
    Send this file: <br>
    <input name="userfile" type="file">
    <input type="submit" value="Send File">
</form>
</font>

</body>
</html>

----------------------------

Let me know if this works..

Cheers
</Shanx>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.198 / Virus Database: 95 - Release Date: 04-Oct-00

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>