Well,my current situation is like this.
When i search something on my site for ex. http://example.org/web-search.phtml?search=SEARCHED+TEXT
the respective content is shown.
As you can see I'm using a GET
form to get the data from the previous form.So the first thing i want to do is open a file with the same as SEARCHED+TEXT
.So now i want to open and save file in
http://example.org/web-search/SEARCHED+TEXT.html
So each time a person searches a page like http://example.org/web-search.phtml?search=SEARCHED+TEXT
a respective .html
file should be created in the respective folder
And no.2
Now i want the whole source of http://example.org/web-search.phtml?search=SEARCHED+TEXT to be copied into http://example.org/web-search/SEARCHED+TEXT.html
So how do i do this ?
NOTE: If i copy the whole source including the code for copying and creating file then each time the person creates http://example.org/web-search/SEARCHED+TEXT.html
a new HTML file will be Opened..
So i hope you got my BIG BIG question !!
I'm not saving the results.I'm just saving the iframe source.So technically its not static