473,218 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 software developers and data experts.

Converting HTML Form Data into Webpage Output ?

I would like to know how to convert HTML code that users input into a
TEXTAREA box on a HTML FORM into a separate WEBPAGE.

I have something like the diagram below on my webpage. The user is
prompted to input his/her HTML Code in the FORM TEXTAREA. By pushing
the Make Webpage Button, a new window opens with the output of the HTML
contents they inputted. This way people can see what their HTML looks
like.

HTML FORM TEXTAREA (Where user inputs their HTML Data)

*******************************************
* <html> *
* <head> *
* <title> Webpage Title </title> *
* </head> *
* <body> *
* *
* User Inputs Web Contents *
* *
* </body> *
* </html> *
*******************************************

***********************
* Make Webpage Button *
***********************

Ive looked on the web and in google groups and havent found anything
that I can comprehend to any reasonable degree.

I get that I have to save the TEXTAREA contents as a .html file and
then open a browser window with that file name.

Im guessing its somethings I should be able to do with JAVASCRIPT or
possibly a CGI Script. Im not really up on either except for real basic
stuff.

If you have any ideas or directions to point me to, Id be grateful.

Also, is it better to save the file via a server as opposed to the
users hard drive? Whats the best/quickest way?

TIA
Teknowbabble

Jul 23 '05 #1
1 8010
<te**********@yahoo.com> wrote:
I would like to know how to convert HTML code that users input into a
TEXTAREA box on a HTML FORM into a separate WEBPAGE.[...]

Im guessing its somethings I should be able to do with JAVASCRIPT or
possibly a CGI Script. Im not really up on either except for real basic
stuff.


You need a server-side (e.g., CGI) program to process the form data and
generate the HTML page.

One of the prewritten CGI page-editing programs listed at
http://cgi.resourceindex.com/Program...ing_Web_Pages/
may meet your needs.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

key ring /'kE 'ri[ng]/ n. device enabling simultaneous loss of multiple keys
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Krista Bailie | last post by:
I'm sure this is so easy that it will hurt for anyone to read it, but I really need some direction. I'm trying to create a color chart (RGB) that shows steps between two different colors as...
1
by: Donald Firesmith | last post by:
We are converting the OPEN Process Framework Repository (www.donald-firesmith.com) of over 1,100 free open source reusable process components for building development methods for...
4
by: brett | last post by:
On my website I have a directory filled with possible files that a user can select to download. Rather than going to the directory itself to download, I'd like the user to be able to select a...
2
by: meburke | last post by:
I've written quite a bit of early php code, but nothing really web and database-specific (more like administrative and maintenance stuff for LINUX), but now I need to develop some serious web...
6
by: Chris Fink | last post by:
Does anyone know it is possible to include a small image(.gif .jpeg) within a <SELECT><option> so that the user would see the option text as well as a little image(icon) in the option? I know this...
4
by: Zuel | last post by:
Hi Folks. So I have a small problem. My DoPostBack function is not writen to the HTML page nor are the asp:buttons calling the DoPostBack. My Goal is to create a totaly dynamic web page where...
2
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it....
5
sid0404
by: sid0404 | last post by:
Hi I am new to the visualstudio.net I am trying to develop an application which requires me to send data to a HTML webpage - http://patft.uspto.gov/netahtml/PTO/search-bool.html and the user...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.