• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Post to location I received an empty file?

Post to location I received an empty file? 11 years 3 months ago #26190

  • Laila_2
  • Laila_2's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello,

I am using RSForm Pro, I've created a simple form with two fields and Submit button:
Name (textbox)
Upload (upload file)
Submit (button)
I am also using Post to location, the result from POST is I receive the text value from Name (textbox), but I receive en empty file?

Any idea what's the reason for this behavior?

Lail
The administrator has disabled public write access.

Post to location I received an empty file? 11 years 3 months ago #26191

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

The files are not stored in the $_POST variable, you will have to control them from the $_FILES variable. It's content can be viewed, for example, by adding the following code in the "Scripts called on form process" area (backend > Components > RSForm!Pro > Manage Forms > your form > Properties > PHP Scripts) and by submitting the form:

var_dump($_FILES);
die();

More information on the RSForm!Pro specialized scripting areas can be found here:

www.rsjoomla.com/support/documentation/v...602-php-scripts.html
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!