Jump to content


Photo

.htaccess?


  • Please log in to reply
6 replies to this topic

#1 zinguzi

zinguzi
  • Project Team
  • 15 posts

Posted 01 April 2007 - 04:40 AM

Topic title :p
Posted Image
Squizz Studios -
squizzstudios.gamemod.net

#2 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 01 April 2007 - 04:47 AM

Yes. You cannot however modify PHP settings via .htaccess.
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#3 Jeeves

Jeeves

    I write the interwebz

  • Members
  • 4,156 posts
  •  Friendly neighborhood standards Nazi

Posted 01 April 2007 - 04:47 AM

Should be, I've used it before :p

EDIT: What he said

World Domination Status: 2.7%


#4 zinguzi

zinguzi
  • Project Team
  • 15 posts

Posted 01 April 2007 - 04:49 AM

Well, Jeeves, this is about inserting that PHP code of your into my index.htm

If I remember correctly, you need to change the settings to make HTML coding recognize PHP
Posted Image
Squizz Studios -
squizzstudios.gamemod.net

#5 Jeeves

Jeeves

    I write the interwebz

  • Members
  • 4,156 posts
  •  Friendly neighborhood standards Nazi

Posted 01 April 2007 - 05:27 AM

The server is already php enabled, and you shouldn't have to change any settings for it, so its just a matter of whacking it in.
You will, however, need to rename your page to a .php extention. PHP uses html for markup, so the html will remain unchanged, but the php won't work unless the servers told its a php file :p

World Domination Status: 2.7%


#6 zinguzi

zinguzi
  • Project Team
  • 15 posts

Posted 01 April 2007 - 03:36 PM

so all I have to do is open up index.htm and save it as index.php with that PHP in place of
<img src="logo.png" blablabla>?
Posted Image
Squizz Studios -
squizzstudios.gamemod.net

#7 Jeeves

Jeeves

    I write the interwebz

  • Members
  • 4,156 posts
  •  Friendly neighborhood standards Nazi

Posted 02 April 2007 - 01:02 AM

Yup!

World Domination Status: 2.7%





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users