Obtaining a static Page from a dynamically generated documen

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
matrixbegins
Forum Newbie
Posts: 6
Joined: Mon Aug 13, 2007 11:11 am

Obtaining a static Page from a dynamically generated documen

Post by matrixbegins »

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
User avatar
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

Post by Christopher »

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)
Post Reply