Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page creation script/form

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
I'm looking for a solution by which I can create new web pages from a form. The form will prompt for pieces of data such as name, address, hair color, file name and then create a new page in a specific folder based on the desired file name, then create a link to that page from another page.

Is there some simple way to do this with either PHP, Perl/CGI, Frontpage or Javascript?

 
PHP is probably the easiest.

Set up your form on one page with a POST action.

In your PHP script, you'll examine your POSTed value, open the new file and write your text based on the POST variables, open the file where the link will be and write the link, display a message to the user that the page was created and a link to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top