Sir!
To anyone concern!
I would like to ask something on how to use lo_export and lo_import in uploading files.
please help me about this!
thank you;)
Printable View
Sir!
To anyone concern!
I would like to ask something on how to use lo_export and lo_import in uploading files.
please help me about this!
thank you;)
no such thing in php, where did you get those?
echo "<FORM ENCTYPE=\"multipart/form-data\" ACTION=\"./uploadItem.php\" METHOD=\"POST\">";
echo "<INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"200000\">";
echo "<INPUT TYPE=\"hidden\" name=\"ItemID\" value=\"$II\">";
echo "Send large image:";
echo "<INPUT NAME=\"image\" TYPE=\"file\"><br><br>";
At next page-
if (!copy($image,"images/".$ItemID.".jpg"))
{
print "Error Uploading Image.";
exit();
}
unlink($image);
This way will be much easy!
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
talk about an old thread???
so easy it won't work, you have to use the super globals for any version of php above 4.1.2 (if variable_globals or off) and anything over 4.2 as they are off by default.
$_FILES[image][name]