Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8398653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:06:17+00:00 2026-06-09T21:06:17+00:00

I have added the pluploader to my PHP page and Im successfully uploading. On

  • 0

I have added the pluploader to my PHP page and Im successfully uploading. On the same page I have a form that i am submiting on the page after people have uploaded some files. I would like the the uploader to add a hidden field onto the end of the form with the file name for each file that is uploaded. I have managed to get this half working with this in the script on the page

            uploader.bind('FileUploaded', function(up, file, info) {
            var obj = JSON.parse(info.response);
            $('form#quoteRequest').append('<input type="hidden" name="file_name" value="' + obj.cleanFileName + '" />');
        });

It seems to be adding the hidden field to the end of the form but with no file name. Perhaps someone knows whats going on here. I have been chopping and changing stuff but nothing seems to get the file name that was uploaded. I don’t really know what i’m doing, very much in the early stages of learning PHP and this is a little bit above my head but im desperate for a good cross platform uploader and this seems to be the one.

Many thanks for your assistance.

info about plupload: http://www.plupload.com/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:06:18+00:00Added an answer on June 9, 2026 at 9:06 pm

    in upload.php the last line needs to read as follows

    die(‘{“jsonrpc” : “2.0”, “result” : {“cleanFileName”: “‘.$fileName.'”}, “id” : “id”}’);

    Plupload does not automatically pass the filename back once complete.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have added a checker to ensure that all fields in a form have
I have added a checkbox to the Additional Tasks page of an InnoSetup script
I have added some testers to my Facebook application while it is still in
i have added to my page an asp.net calendar control and i would like
I have added a rad combobox to a page and need to be able
I have added an extension method to the ASP.NET System.Web.UI.Page. Every page in my
I have added some code which compiles cleanly and have just received this Windows
I have added the required assemblies and registered the NVelocityViewFactory in global.asax.cs page but
I have added a textbox to my WinMo app's form and I want to
I have added jquery js file to a web page in .NET 1.1 web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.