[TYPO3] Including Typo3 page
Helge Preuss
scout at hyperspace-travel.de
Tue Apr 17 13:23:06 CEST 2007
Hi list,
I need to include my Typo3 page from an external PHP script. This is
because my site is migrating to Typo3, but the old links still must be
available.
I thought (wrongly), that to set $_GET parameters correctly and
including Typo3's index.php should work, like this:
<?php
$GLOBALS['_GET'] = array('id' => 30);
include_once '/www/typo3_installation/index.php';
?>
but that didn't work. I then adjusted $configured_tslib_path in
index.php, as it suggests. Now I get the error message:
Cannot find configuration. This file is probably executed from the wrong
location.
What must/can I do to include Typo3 pages from another location?
More information about the TYPO3-english
mailing list