Page 1 of 1

include problem

Posted: Mon Jun 17, 2002 12:40 pm
by TuffGong
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

Posted: Tue Jun 18, 2002 3:52 am
by e+
Silly question but are your chmod setting all correct as this wouldn't be picked up on your windows box.

Posted: Tue Jun 18, 2002 5:16 am
by roninblade
what exactly is the *problem*? what error/warning message are you getting?