• 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: file name in a script

file name in a script 13 years 11 months ago #13635

  • glenanPL
  • glenanPL's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hello,

I'm trying to find the name of the file which are uploaded with the form.
I have seen that the name is crate with the date and the name of the original file but i don't know the way to take this filename.
This is not in $_POST and not in $_FILES.

I don't find anithingabout that on the forum,
can someone give me a clue ?
The administrator has disabled public write access.

Re:file name in a script 13 years 10 months ago #14006

  • cooksk1
  • cooksk1's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Try this:

echo "This is the file I uploaded: ".($_FILES["form"]["name"]["The_Name_of_Your_Field"])."\n";
die();

www.rsjoomla.com/customer-support/forum/...aded-files.html#1001

Kelvin
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!