Get the file name uploaded from the $_POST

Home \ forums/topic \ Get the file name uploaded from the $_POST

Support Home Page Forums Joomla Software Easy File Uploader Module Get the file name uploaded from the $_POST

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #482
    markarupert
    Participant

    I have created a custom application within Joomla using Flexicode. I am trying to obtain the file name that is uploaded by Easy File Uploader so that I can store it in a database. I tried finding it in the $_POST but it does not seem to be returned. Any suggestions

    #1767
    markarupert
    Participant

    Does Mike or anyone know how to make this work? –Mark

    #1768
    Michael Gilkes
    Keymaster

    @markarupert. Sorry for not responding sooner. Ok… You may need to explain more of what you are trying to do. However, if you have a look at the helper.php file around line 201, you will see a function called: storeUploadedFile. In that function, you will see how I get the file name from the $_FILES variable. Because it is a multipart/form-data, the file data, including the name, is stored in the php variable $_FILES.

    Let me know if this helps.

    #1769
    markarupert
    Participant

    Thanks Michael $_FILES is exactly what I needed.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Get the file name uploaded from the $_POST’ is closed to new replies.