| 10:17 am on Aug 7, 2005 (gmt 0)|
Use SSI, <!--#include virtual="/adsense.txt" -->
AddType text/x-server-parsed-html .html
AddType text/x-server-parsed-html .htm
into your .htaccess file to treat html,htm files as shtml (if your can't already include files in html)
| 10:21 am on Aug 7, 2005 (gmt 0)|
When your provider supports it you can use SSI (server side includes).
I'm using this line of code:
<!--#include virtual="/AdSenseCodeHere.shtml" -->
It's possible that you need to rename your html pages to .shtml or whatever (depending on ISP).
| 10:46 am on Aug 7, 2005 (gmt 0)|
I just implemented it to insert it by SSI
<!--#include virtual="/cgi-bin/ssi.pl?from=google-g&insert=300x250&arb=book-theme" -->
load the text file google-g.txt
where all used ad fromats are stored
(g stands for German, on an english page would be google-e)
Take the code for the 300x250 from google-g.txt
Amazon recommended book
I use Amazon as an PSA replacement
This is the parameter for the Amazon recommended book search
| 10:57 am on Aug 7, 2005 (gmt 0)|
That 's great for me.
I never know about this technic.
Thanks for all reply;
Any comment welcome
| 11:29 am on Aug 7, 2005 (gmt 0)|
I can't test it on my PC(Appserv on WinXP)
But on real server it OK.
Because, I can't create file .httaccess on WinXP
How can I do?
| 12:02 pm on Aug 7, 2005 (gmt 0)|
Since this is the adsense forum I would suggest you take this question to the Apache forum. Since Apache is part of the Appserve package.
The guys (and girls) over there should be able to get things running locally.