...

View Full Version : Includes



Ndogg
07-29-2009, 01:32 AM
This is probably a stupid question:

I need to include a file thats in a higher up dir.
include 'example.php'; in example2.php

home/example.php
home/testdir/example2.php

Get what im saying?

Apostropartheid
07-29-2009, 01:38 AM
include "../example.php".

The .. moves up one directory.

Ndogg
07-29-2009, 05:44 AM
Thats what I thought, thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum