Is there any way to have a code like this in all my web pages <link media="screen" type="text/css" href="style.css" rel="stylesheet" but instead of it referring to my css style sheet it goes to a gif banner or adsense or whatever. Kind of like digitalpoint has on top of there page in the right.
So you want a portion of your page to appear on every page, but have one source so that you can easily change it on all pages by changing it once?
If you use php you can make a header.php file where to put your html/adsense code. In all pages you will need just to include the header.php file. If you use just html I think you will have to add manually the code to all pages. There is a javascript way too.
I got this error on my page where I place the php code after I tryed it out, im guessing it has something to do with permission with the server seeing how it says "URL file-access is disabled in the server configuration" Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/a8853535/public_html/index.html on line 65 Free Web Hosting PHP Error Message Warning: include(http://animespot.co.cc/adsense/rightad.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/a8853535/public_html/index.html on line 65 Free Web Hosting PHP Error Message Warning: include() [function.include]: Failed opening 'http://animespot.co.cc/adsense/rightad.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8853535/public_html/index.html on line 65 Code (markup): any way to fix this without giving people access to muck up my sever.
Who is your hosting provider? Is you use free web hosting, chances are they don't offer support for php.
How you have included the file ? With the complete URL or with path(ex: script/header.php or complete url: http://....../script/header.php) ? Also make a php file, write phpinfo(); and let us know what content provide this file(maybe some functions are disabled).