On 05/03/2009, Terre Porter <[email protected]> wrote: > > > Try this ... > > <iframe src="<?php getenv('DOCUMENT_ROOT') . > '/PATH-TO-FILE-FROM-DOCUMENT_ROOT-location/.main.php'; ?>" ...
DOCUMENT_ROOT is normally the full server path to your web root, which is unlikely to be correct here. The original poster just needs the path to the file _from_ the web root, which I would guess is: <iframe src="/tools/galerie/main.php"> it's generally much easier to use absolute paths (i.e. start with a /), than trying to work out the correct relative path. And this doesn't really have anything to do with ZF. -- Tim Fountain http://tfountain.co.uk/
