insert my html/php code for every page accesed by users from my network

johnny_pi

New Member
Hola all,

I have a wireless network. I want to make that for all my clients, when they access a web page, to appear in the top of the page a bar with news.
With other words, I want to insert my own php/html code at the beginning of every web page that the clients of my network access (so before the page normal code).

Now my question is, does someone have any ideea in how to do that?

Thx,
johnny
 

I don't want to make a special pages with news, i want to make a bar on the top of the page and show news from a database (e.g. when the client is accessing www.google.com or www.yahoo.com or any other page to see on the top of the page my bar with news (so insert my html / php code in e.g. google's page before the normal code and show the page with both source codes (mine and google's) to the client.

Thx
 
Ahhh sorry mate I mis read the post. I'm sure there would be a way of doing it, you could make a html page with the bar along the top then have a in bedded page for viewing other websites, I'll see if I can get you an example...
 
Soz had a quick look but I don't have much time. There is probably a few ways about doing this but if I were to do it I would set up a dedicated server (proxy) on your network, then create your page with an in bedded web page viewer or (there might be some sort of banner package you could down load). After that is set up you could go onto the client computers and set there IE, FF or what ever to point at your proxy server...


EDITED: being retarded, ignore the post before edit...
 
Last edited:
Soz had a quick look but I don't have much time. There is probably a few ways about doing this but if I were to do it I would set up a dedicated server (proxy) on your network, install summin like apache on it and then create your page with an in bedded web page viewer or (there might be some sort of banner package you could down load). After that is set up you could go onto the client computers and set there IE, FF or what ever to point at your proxy server...

ok, but how do I make the proxy server to deliver to the client the new code made my $mycode and $pagecode (like how can i create with the proxy the third page inserting in it $mycode and $pagecode)
 
Sorry I have not done this before and just estimating a guess on how to do it. So I didn't mean to confuse the proxy and apache servers either...

If you set up a proxy server you can install packages such as safesquid.

This would allow you to manage all the content the clients are viewing and might allow you to add in your banners.

You would need to look into it deeper than I have though.
 
Back
Top