Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
CJ Webmaster Forums Forum Index -> PHP Scripts » CJ GoogleBot Activity

Post new topic   Reply to topic
HTML Pages
View previous topic :: View next topic  
Author Message
charlesclark



Joined: 08 Jul 2004
Posts: 1

PostPosted: Thu Jul 08, 2004 4:55 pm    Post subject: HTML Pages Reply with quote

Hi All

my skills are search engine optimisation not programming so forgive if this appears a stupid question

Although we have site with dynamic pages most of our pages are simple .html or .htm pages. Our sites php enabled - will the script work in an a basic .htm or .html page


Charles
Back to top
View user's profile Send private message
kashyap_rajput



Joined: 28 Sep 2004
Posts: 1
Location: India

PostPosted: Tue Sep 28, 2004 7:00 am    Post subject: Reply with quote

hi,

I got same question as charles, I have static site with all html pages, but my server does support php, still I enjoy the benefits of the site?

Please help
_________________
Web site developers

Cybercom Creation
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
James
CJ-Design.com Admin



Joined: 08 Nov 2002
Posts: 798
Location: UK

PostPosted: Sun Nov 28, 2004 9:26 pm    Post subject: Reply with quote

Try this to include the script:

<script src="googleactivity/googleactivity.php"></script>

You will still need to have PHP capabilities on your server though, as the script will still need to be run in a PHP environment.

If that fails, use a .htaccess file to tell apache to parse .html files as .php files:

(add this line to a .htaccess file and save in root directory):
Code:

AddType application/x-httpd-php .php .html


I hope that answers the question!

Smile
_________________
CJ Website Design Developer
Web Design - http://www.cj-design.com
Web Hosting - http://www.cj-hosting.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
bermuda_boy_jimbo



Joined: 04 Mar 2005
Posts: 1
Location: Germany

PostPosted: Fri Mar 04, 2005 11:51 am    Post subject: Reply with quote

Hello, I have a little question.

James wrote:
If that fails, use a .htaccess file to tell apache to parse .html files as .php files:

(add this line to a .htaccess file and save in root directory):
Code:

AddType application/x-httpd-php .php .html


How do I know if it fails? Is there any posibility to prove it? I also have a line in my .html site which looks like this:

<script src=script.js type="text/javascript"></script>

May it be that those lines interfere each other?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CJ Webmaster Forums Forum Index -> PHP Scripts » CJ GoogleBot Activity All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional, Mods by CJ Website Design