Hello Everybody !!
There is a functionality that I want in application.
.................
Suppose a User uploads some files e.g images, Resumes etc. with proper info. like skills, experience etc. I mean some input in HTML controls.
I want The moment user submits all data he/she should get a dynamically generated page showing a confirmation page then. I mean a preview page that show what user has inputted are all entries are OK or not. & then when user confirms the input then these values must saved in database.
....................................
This far I have done.
I want a little Favor .......... when user confirms all inputs that dynamically generated page must be saved as a static page on server in directory choose by me.
Is this Possible or I am Just thinking Hypo..........
Please Help
Obtaining a static Page from a dynamically generated documen
Moderator: General Moderators
-
matrixbegins
- Forum Newbie
- Posts: 6
- Joined: Mon Aug 13, 2007 11:11 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Obtaining a static Page from a dynamically generated documen
Yes. PHP is designed to generate HTML pages. Usually you send that HTML to the browser with echo, but you also save that HTML in a file. See file_put_contents() and other filesystem functions.
(#10850)