Jump to content


All you Media Temple Users, I need some help lol


3 replies to this topic

#1 Hoot

    * Hooty Tooty Fruit *

  • Members
  • PipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Canada
  • Interests:Making Websites, Working in 3D, Playing the Drums

Posted 17 October 2006 - 10:03 PM

I just got my site moved to media temple but I can't get my site to include php files
I can get it to include them if its just:
<?php include('blah.php') ?>

but if it is in a file I can not.

I looked at MT's website but it only tells you how to do SSI's with shtml,htm and html, if I add .php into the .htaccess it wont work...

here is what I do but doesn't work:
Options +Includes
AddHandler server-parsed .shtml .html .htm .php
(I added the .php)
please help.

Hoot

Edited by Hoot, 17 October 2006 - 10:04 PM.


#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 18 October 2006 - 03:03 AM

sorry, for the stupid question, but what exactly isn't working?
You can't access pages with .php extensions?

#3 Stu

    Retired P2L Staff

  • Publishing Betazoids
  • PipPipPipPip
  • 1,761 posts
  • Gender:Male

Posted 18 October 2006 - 04:02 AM

what do you mean if it is in a file? it wont include the .php file if it resides in a folder outside of the folder where the file with the include is?

ie this doesnt work?

Quote

<?php include('./folder-name/blah.php') ?>

Edited by Stu, 18 October 2006 - 04:03 AM.


#4 Hoot

    * Hooty Tooty Fruit *

  • Members
  • PipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Canada
  • Interests:Making Websites, Working in 3D, Playing the Drums

Posted 18 October 2006 - 04:47 PM

Hmm I think its working now but I met if I was on the index page and had code like:
include('/folder/folder.php') ?>

It wouldn't work but I think its fine now. Maybe stuff was still getting set up I don't know lol

Hoot





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users