I would write some data to an external file;
say we choose via sql the last 5 new hits, but now i would write them over link2.html (a modified template) to an external file with the complete html in it.
Next step: I would <Include> this text to any place i would have it. BUT: I would like to choose the http://adress not the servers adress to get this file.
So from the end: 1. rewrite the include-function not to get via server-path but from anywhere in world the .txt file.
2. write a new function to get data via sql, pass them to link2.html and save the stuff to an .txt file somewhere under my www-dir.
Some ideas to that?
say we choose via sql the last 5 new hits, but now i would write them over link2.html (a modified template) to an external file with the complete html in it.
Next step: I would <Include> this text to any place i would have it. BUT: I would like to choose the http://adress not the servers adress to get this file.
So from the end: 1. rewrite the include-function not to get via server-path but from anywhere in world the .txt file.
2. write a new function to get data via sql, pass them to link2.html and save the stuff to an .txt file somewhere under my www-dir.
Some ideas to that?