Forums
This topic is locked
give N° of session to file uploaded
Posted 05 Sep 2001 23:36:41
1
has voted
05 Sep 2001 23:36:41 anouar stevens posted:
it is possible to give the name of sesion to the file that the user have just uploaded in order to don't have the same name and insert the the new name of picture to databaseReplies
Replied 06 Sep 2001 02:23:44
06 Sep 2001 02:23:44 Waldo Smeets replied:
Yes, check out Pure Upload 2: www.UDzone.com/go?1622
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 06 Sep 2001 14:59:31
06 Sep 2001 14:59:31 anouar stevens replied:
think you for your help but the probleme is that i don't have card visa to buy the new version , but think's god i just write a small code to give the N° of session like "80828475" to the file upload but only after using PureAspUpload it's very easy
so for the personne whi is interessting
just find this code in the page
" PosEnd = InstrB(PosBeg,RequestBin,getByteString(chr(34)))"
and after this line put these :
origFileName = getString(MidB(RequestBin,PosBeg,PosEnd-PosBeg))
origFileNameExt = Mid(origFileName,InStrRev(origFileName,"."+1)
FileName = session.sessionID&"."& origFileNameExt
it's all just try and if there is some error just be sure that the page work before adding this code
Good luck
Replied 06 Sep 2001 15:15:01
06 Sep 2001 15:15:01 Waldo Smeets replied:
Perfect!
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>