include problem
Posted: Mon Jun 17, 2002 12:40 pm
hi im running PHP script on my windows macine. hosting on a linux machine on my server.
all my php files are in one directory 'messages' therefore the include statement as follows :
include "afile.php'
causes no problems.
However i place a file in a other directory called 'html' which need access to files in 'messages'
so i include the following line which works perfectly on my machine (Windows)
include "../messages/functions.php"
but causes problems once uploaded
any ideas why?!
thanks
M
all my php files are in one directory 'messages' therefore the include statement as follows :
include "afile.php'
causes no problems.
However i place a file in a other directory called 'html' which need access to files in 'messages'
so i include the following line which works perfectly on my machine (Windows)
include "../messages/functions.php"
but causes problems once uploaded
any ideas why?!
thanks
M