HTML Generator - Plz help!

They have: 32 posts

Joined: Jun 1999

I'm looking for a free CGI script that will take varibles from a form, and create a new HTML page with those varibles.

Example: User 1 decides to make a page with a black background. He then fills out the field marked 'BACKGROUND" and types in #000000 . Automatically a new page is made with a black background.

User 2 comes along. He then fills out the field marked 'BACKGROUND" and types in #FFFFFF . Automatically a new page is made with a white background.

So then I have 2 different pages. One with a black background, and one with a white.

Obviously my reasons are different than the above one. Any help would be appreciated.

-steve

They have: 32 posts

Joined: Jun 1999

Uhh, thanks but the color thing was just an example.

If you read the top of my message:
I'm looking for a free CGI script that will take varibles from a form, and create a new HTML page with those varibles.

Any help, anyone?

They have: 32 posts

Joined: Jun 1999

The problem with Javascript is it won't store the file on the server. Sad

To tell you the truth, I am a newbie when it comes to CGI. I can install a script, or even modify it a little, but other than that it's greek to me Smiling

With form handler's, I don't think I've ever seen one that creates a new page for everyone that submits.

What I did find was a script ( http://www.interlogy.com/scripts/netcard/ ). I tried the demo and it seems to work nicely for what I want. I'll spend a while customizing it, and hopefully it will work, or else you'll find me back here Smiling

Thanks for all your help.

They have: 76 posts

Joined: Apr 1999

Steve,

Did you also consider trying this with Javascript? You could have the page call itself and then use document.write (variable). Variable could be almost anything from a form element, the page title, a table, etc.

I made something like you described in ASP, which would let users type in some page information and it generated the page for them. It was pretty simple so I imagine doing it with CGI can't be to hard either (I'm not a CGI expert so I can't help you there, sorry).

Sorry I couldn't help more. Actually if you took a form handler CGI and just modified it a bit that would probably work for you, there are ALOT of form handler CGI's out there. Why not experiment Smiling

Later,
PJ

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.