Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 10th, 2003, 07:40 AM
Registered User
 
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default TEXT BOX INPUT TO FILE LOAD

can i retrieve a value from a text box and use that value to load a file with the same name through an iframe?
for example.
say i have a page where you enter in the name of a file in a text box say "test.html"
this is then stored in a database
can i retrieve "test.html" and use that string to load a file called "test.html" into an iframe?
then later on say the page gets updated to "test2.html"
i enter that in the page, it gets added to the database and then the "test2.html" file is called?

hope it aint too confusing


 
Old November 10th, 2003, 11:08 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Umm... No, I highly doubt it. It think what you are basically asking is "Can I have the server look on the client's machine for the file by the name they provide?" Is that what you mean? That's the reason for the file upload control. It provides the facility for the browser to encode the a local file for inclusion in the post data of the form.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
down load sql query as text file kumar_manoj77 Classic ASP Basics 2 September 1st, 2004 05:08 AM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 09:49 PM
Creating an Input Mask in a text box in VB.NET ysu_computer_lab VS.NET 2002/2003 1 November 5th, 2003 02:40 PM
Double search using an input text box Karel Access VBA 2 October 25th, 2003 10:29 PM
write info from user input into a text file pkdev Classic ASP Components 1 September 20th, 2003 01:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.