Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter redonis

    (@redonis)

    Hi Nickolas!

    That would be great!

    What i’d need is to pass the path (or name or uniqueID) of the uploaded file to a specific page (CalculationPage), that will then apply a script to that file and calculate and show its cost.

    Right now i’m doing this:

    1- I activated “Redirect after upload” in WPU settings, with this value:
    http://www.my-site.com/CalculationPage/?myvar=%filename%

    2- When the upload is done and successfully redirected, some php code on the landing page “CalculationPage” reads the name of the file in the URL query variable (myvar=%filename%) , search for it in the default upload folder, and then does what it should (calculate its volume and dimensions and outputs a price).

    Is there a better way in your opinion to do so?

    Thank you!

Viewing 1 replies (of 1 total)