Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to store file size of uploads?


chrisjchrisjchrisj

Recommended Posts

Is there any way to store the file size, in a database, to keep track of how much each registered user uploads?

 

I was fortunate that a previous topic of mine was recently replied to when I asked for help adding an upload box to the LogIn page.

 

And I was provided this code, and now I'm looking to find out how I might "store the file size in a database to keep track of how much each registered user uploads". I look forward to any assistance or suggestuions. Thanks.

 

CODE

<?php

if (isset($_SESSION['customer_id']))

{

echo '

<form action="/WHEREVER IM GOING/"

enctype="multipart/form-data" method="post">

<p>

Please specify a file:<br />

<input type="file" name="myfile" size="40">

</p>

<p>

<input type="submit" value="Send">

</p>

</form>';

}

?>

 

 

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...