Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

a few quetions

Posted 19 Jul 2001 15:06:35
1
has voted
19 Jul 2001 15:06:35 Keith Slater posted:
I have PureASP upload and I want it so that when some one uploads it puts their initials in front of the file depending on who their logged on as. So if it was my the file would upload as ksfile.jpg.
And with search engines how do I make it so the search isn't so narrowed down. You have to search for the exact words or it won't return anything. Any one know

Thanks for any help
Keith

Replies

Replied 25 Jul 2001 22:49:44
25 Jul 2001 22:49:44 Dennis van Galen replied:
I don't have experience with PureASPupload, but i think you want to automatically rename all files that get uploaded with a dynamic value added in front of the filename. The Dynamic value should be inserted in a hidden field on your upload form and should be inserted somewhere, since i haven't used pureASPupload yet i don't know where this should go exactly.

About the searchengine needing exact names, find your search value in the record query, should look something like 'MMcolparam' you want to change that to '%MMcolparam%'.
You have to change this both in the SQL code and the defaultvalue for MMcolparam should be set to just the wildcard, % .

If you do that, then you even get results back by searching on just 1 character.
And that is what you wanted, right ?

I hope this helps you out a little.

BTW, that wildcard is for Jscript, VBscript has different wildcards, you'd have to ask someone else for the equavalant of this wildcard for VB, it doesn't come to me right now.

With kind regards,

Dennis van Galen
Webmaster SPG Finance
KPN Telecom Holland NV

Edited by - djvgalen on 07/25/2001 22:53:58
Replied 26 Jul 2001 01:16:00
26 Jul 2001 01:16:00 Waldo Smeets replied:
Keith, it is really difficult to do this with the current Pure Upload behavior. We have some articles in the Pure Upload FAQ section that might help you on your way though. So please click the FAQ link above to browse to that categorie of FAQs.

Good news: I heard rumours that Pure Upload 2 will handle this kind of things. Let's hope it is true!

Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------

Reply to this topic