Oh Ic .. but still wondering about that .. 
Ok i will use as default then .. thank you so much guys

Have a good day!

-----Original Message-----
From: M Kamran Adam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 12:08 PM
To: [email protected]
Subject: RE: [ASP] Type="file"



Hi Natalyne,

You cannot programmatically set the 'value' of a 'file' input
element.  This limitation has been enforced as a basic security
measure to prevent malicious websites to programmatically drop
a physical path into the text-box part of the 'file' input
element, and programmatically fire the submit button. This
limitation protects web-users from the hijack of files on their
hard-drives to the notorious web-servers.

Regards
--


--- Natalyne Harianja <[EMAIL PROTECTED]> wrote:

> 
> Hi Shawn ..
> Field vPathEFile is stored in database with value :
> \\xserver\document\english.doc
> and when it used in maintain's page, i want the user can
> re-path the field
> again.
> by set the type="file" the user can browse file location
> again if it needed,
> unfortunately if i put this kind of type in "input text box"
> the value from
> database can't see from the page.. 
> 
> how should i fix it?
> 
> -----Original Message-----
> From: Shawn K. Hall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 19, 2005 10:50 AM
> To: [email protected]
> Subject: RE: [ASP] Type="file"
> 
> 
> 
> Hi Natalyne,
> 
> > I have a code below to display data from database,
> > but why the value doesn't appear since i put
> > type="file" ? but if i didn't put it the data will
> > come, how should i fix this?
> > 
> > <INPUT id="txtvPathEFile" name="txtvPathEFile"
> > value="<%response.write(application("vPathEFile"))%>"
> > type="file" size=50>
> 
> What type of content is it? *Is* it a file? Is it text? Is it
> an
> image?
> 
> I'm just guessing, so I don't know if this is what you're
> after, but
> try this:
> 
> <INPUT id="txtvPathEFile" name="txtvPathEFile"
>  value="<%response.write(application("vPathEFile"))%>"
>  type="TEXT" size=50>
> 
> Regards,
> 
> Shawn K. Hall
> http://12PointDesign.com/
> http://ReliableAnswers.com/
> 
> '// ========================================================
> It just so happens that your friend here is only mostly dead
>       -- 'Miracle Max', The Princess Bride
> 
> 
> 
> 
>
---------------------------------------------------------------------
>    
>  Home       :
> http://groups.yahoo.com/group/active-server-pages
>
---------------------------------------------------------------------
>  Post       : [email protected]
>  Subscribe  : [EMAIL PROTECTED]
>  Unsubscribe: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links



 







---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to