I am thinking in adding a new server for free host of special proyect pages.
I force users to add a script for banner showing in the page but it is bad because they need to insert in the page.
I have shown that lot of free hosting services include automatically the banner.
How can i make in the new server to send a top banner in each html , php page that is shown in the server. i suppose to make loading also a frameset page, but how to make that it didnīt load a frame withing a frame page?
Hope that anyone could help me and sorry for my english.
This sounds like a question for the scripting forums.
An outline for processing .html documents would be:
Direct all document requests to the script. Have the script verify that the requested document exists. Write an HTTP response header to stdout. Have the script read records from the requested document, and write them to stdout until the beginning of the <body> section is found. Insert the banner code from a local file, writing it to stdout. Continue reading records from the requested document and writing them to stdout until end-of-file is found.
This would not require any code to be inserted by users - it would be done on the server.
You could ask in the php or PERL scripting forums, too.