Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Include Php In Html


  • This topic is locked This topic is locked
3 replies to this topic

#1 Prasanthi

Prasanthi

    HR 2

  • Members
  • PipPip
  • 13 posts

Posted 01 June 2009 - 12:35 AM

Hi

I am unable to include php in my html pages using .htacess.
I tried following in my .htaccess file. Still not working

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

And more..

My server configuration:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/5.2.0-8+etch13
Connection: close
Content-Type: text/html

Please advise………very urgent….

Thanks,
Prasanthi


#2 Mr Biggles

Mr Biggles

    HR 3

  • Active Members
  • PipPipPip
  • 64 posts
  • Location:Adelaide, South Australia

Posted 01 June 2009 - 01:54 AM

I have this in my .htaccess and it works no problems at all:

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


#3 Prasanthi

Prasanthi

    HR 2

  • Members
  • PipPip
  • 13 posts

Posted 01 June 2009 - 05:39 AM

Hello Randy, Jill and other forum Moderators,

Please answer..................

I tried all the possibilities and still not working..........


Thanks,
Prasanthi.P


#4 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 01 June 2009 - 07:37 AM

Talk to your hosts. They're the only ones that know how your server is configured.

Who knows, they may have .htaccess disabled altogether.

Closing this thread since you're asking the wrong people.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

We are now a read-only forum.
 
No new posts or registrations allowed.