php and directories (new to php)
Posted: Wed Mar 10, 2004 10:06 am
Hi all,
I'm new to php and I might get the explanation wrong but here goes.
I'm currently building a website with each section of the site been in a new directory i.e root has the index.php in it, then theres seperate folder holding the portfolio section.
but my problem i'm using a 'php include' to call the flash into the page (so any problems just have to change my header once). But when i include the flash file on the second level the links in the flash nav don't work becasuse it thinks its in the second level of folders. So is their a way with flash or php that what ever level the flash is on it believes its on the first level.
sorry if this makes no sense.
cheers
iceni
I'm new to php and I might get the explanation wrong but here goes.
I'm currently building a website with each section of the site been in a new directory i.e root has the index.php in it, then theres seperate folder holding the portfolio section.
but my problem i'm using a 'php include' to call the flash into the page (so any problems just have to change my header once). But when i include the flash file on the second level the links in the flash nav don't work becasuse it thinks its in the second level of folders. So is their a way with flash or php that what ever level the flash is on it believes its on the first level.
sorry if this makes no sense.
cheers
iceni