Unfortunately, the username and password you have entered do not match!

Registration

Unfortunately, this username is already taken!

Unfortunately, this e-mail address is already used!

Please retype the verification code.

All fields are required

Upload files - relative url

Welcome, Guest
Username Password: Remember me

Upload files - relative url
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Upload files - relative url

Upload files - relative url 3 years, 8 months ago #3066

(re)Hello

When i create an upload field in my forms, i must indicate a local folder (ie : c:\...\uploads) but this value is fully save in database. After when i try to view or download this file it doesn't work... is it possible to modify scripts to use relative url instead of this absolute ?

Thomas

Re:Upload files - relative url 3 years, 1 month ago #5923

  • colette
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I would like to remove the proceeding numbers that get added in the file name. How can I do this? If they upload document.doc then I don't want it to end up as 32394802-document.doc

How can I do this?

Re:Upload files - relative url 2 years, 10 months ago #7104

  • lewko
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
You might want to think about whether that is a good idea.

By adding pseudo-random digits to the filename, you are ensuring that:

a) You won't have filename clashes if two people upload a different file with the same name e.g. "resume.doc".

b) You reduce the chance of your system being abused by someone who could upload a file (e.g. warez or porn) to your server, and then post a known URL to another site.

Re:Upload files - relative url 6 hours, 1 minute ago #0

Hello,
This is an automatically generated message.
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 wish to receive our 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: http://www.rsjoomla.com/support-policy.html.

Thank You!
PLEASE NOTE: This topic is NOT locked and you can add replies to it. Other users are free to reply as well. This message has been generated by a bot and has no effect on the topic whatsoever.
  • Page:
  • 1
Moderators: alex, alexp, octavian, bogdanc, andreic
Time to create page: 0.68 seconds
Feedback