Web form / CGI scripting: User enters "word", IFrame displays "word".html
Posted
by Haskella
on Stack Overflow
See other posts from Stack Overflow
or by Haskella
Published on 2010-05-08T06:40:43Z
Indexed on
2010/05/08
6:48 UTC
Read the original article
Hit count: 342
Okay, I'll admit being a designer, I don't know much about how data is handled from the servers in forms... (basically the whole programming part). Basically I have a text field that the user types something like "apple", this gets sent to the server and then displays the apple.html page that I have in a directory in an IFrame. If anyone can show me how to do this in a PHP script or Perl, would be great thanks! I think this is good start, it gets more complicated than this... I later have to convert the "apple" into something like 2321 and display 2321.html instead.
If anyone can find a CGI script that does this, thanks!
© Stack Overflow or respective owner