Re: input type=file

From: Date: Tue, 30 Jul 2002 15:29:40 +0000
Subject: Re: input type=file
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-15011@lists.php.net to get a copy of this message
For those who kindly replied to my web-mail (which is not working right now) here is the code requested. After checking the submit variable is set we do this: $the_data = add_microsoft_escapes(fread(fopen($data_blob,"rb"), filesize($data_blob))); $data_blob always reports "none" The form encode type statement: <form enctype="multipart/form-data" name="form" action='<? echo $PHP_SELF ?>' method="post" onSubmit="javascript: return (checkForm(this));"> checkForm just ensures that required fields are indeed filled. The input field: <td><input type="file" onchange="javascript:isChanged=true;" name="data_blob" size=15></td> LT

« previous php.windows (#15011) next »