0 Replies Latest reply on Aug 1, 2012 5:23 AM by Torsian

    Uploading Files into DB with php

    Torsian Level 1

      Hi There,


      I am struggling with my php code.  I added an upload button into my site, here the consultants can add documents which they have worked on.  But...I cannot get these documents into a folder in the DB, nor can I get these documents to be viewed by a Teamleader with the original request number attached.


      I used the normal script to do the Browse function:



      <form enctype="multipart/form-data" action="post3.php" method="POST">

        <input type="hidden" name="MAX_FILE_SIZE" value="300000" />

        <span class="grey">Choose a file to upload</span>:

      <input name="uploadedfile" type="file" />

      <input type="submit" value="Upload File" align="middle" />



      But my PHP code does not want to work nor does it want to display anything...(a bit frustrating)


      can anyone please assist me with code or some pointers please..


      Thank you in advance..