Hi all,
What I am trying to do is
On "Page 1", user fills a form, and when he clicks on "Submit",
a new page, say "Page 2" should get automatically created (in the same folder as index.php) in such a way that name of the page is say first_name.php (what the user filled on page 1) and it should display the contents of what he filled in on the first page.
Something like showed in the figure.
http://i54.tinypic.com/j768wj.jpg
Please help guys!
Thanks and Regards.
kedar9
0
Newbie Poster
Recommended Answers
Jump to PostIt depends on some browser. But you can try this.
<form action='page2.php' method='post' target='_blank'>
All version of IE supports the target='_blank' tags.
Jump to PostWhy would you want to create a new file in the folder just for that? You could potentially be inundated with a huge amount of files in the folder if many people or bots filled and submitted the form. I am not sure what you are attempting to do but …
Jump to PostYou should not create a page for each person, in my opinion.
You can use a custom page to simply echo the contents of the form. If its a profile page you are creating, you can store user details in a database.Vinayak
All 9 Replies

Lioshenka
lyrico
23
Junior Poster in Training
pixelsoul
272
Red Pill
Featured Poster
vinayakgarg
6
Junior Poster in Training
kedar9
0
Newbie Poster

Lioshenka
kedar9
0
Newbie Poster

Lioshenka
kedar9
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.