Jump to content


PHP In HTML


4 replies to this topic

#1 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 20 May 2006 - 08:53 AM

Hey i have an include that i need to add to my html page but the page wont accept any PHP (obviously) but i need to know how to make it so that the include will actually work on my html page.

#2 Aussiestinger

    Young Padawan

  • Members
  • Pip
  • 270 posts

Posted 20 May 2006 - 09:04 AM

can't just change the name of the page to .php?

here anyways;
http://www.desilva.b.../phpinhtml.html

hope that helps.

#3 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 20 May 2006 - 09:11 AM

Is there any way to do it withough changing the name of the page to .php

lmao nvm sorry i didnt see the link you gave me

#4 Ruben K

    Cliff

  • Twodded Staff
  • PipPip
  • 438 posts

Posted 20 May 2006 - 12:01 PM

mod rewrite lol

#5 Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 20 May 2006 - 12:13 PM

Haha, well achually i saw this in the morning but didnt have time to answear, both the .htaccess and mod_rewrite came into mind.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users