Store source code of a page
Posted: Sat Mar 20, 2004 8:39 am
Hi, i have written a php script which creates a lot of text (javascript) from values of a database.This values do not change often, so there is no need to generate them each time the page is loading.
Basically i need something, what would call the page (which generates the javascript code) and store it in a separate file. I guess the first step is to make a long array out of the source code of the parsed page. Anyone has an idia? please help... if i use fopen it will not parse the page
Thanx in advance
Basically i need something, what would call the page (which generates the javascript code) and store it in a separate file. I guess the first step is to make a long array out of the source code of the parsed page. Anyone has an idia? please help... if i use fopen it will not parse the page
Thanx in advance