SMF Support > SMF 1.1.x Support

attachment lost in preview

<< < (2/4) > >>

Peter Duggan:
Not offhand, but I think Curbow is close... IOW, you can't attach an attachment twice?

Peter Duggan:
Here you go, Anguz. Not much, but it's all I could find:

http://www.yabbse.org/community/index.php?thread=18022

Curbow 5:

--- Quote from: Anguz on January 22, 2004, 07:02:21 PM ---I didn't know that, since I never used attachments in YaBB SE... do you remember what the reasons are?
--- End quote ---

it's a security issue. if you could enter a default value for a file field, i could gain access to files on your computer through auto submitting forms in hidden frames etc.

and that would be a BAD thing! ;)

Anguz:
thanks you for your help... I checked on the file type for the input tag, I thought one could use the value attribute, but it's not possible

Curbow, I hadn't thought about it, but that's true

the only solution I can come up with for this right now, is have a temp folder inside the attachments one, where the files could be stored for previews and moved/deleted from it when posting

SparkieGeek:
Could you not use JavaScript in an onload() to write to the attachment field? sorry that was a stupid idea

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version