include problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
TuffGong
Forum Newbie
Posts: 5
Joined: Wed Jun 12, 2002 6:00 am

include problem

Post 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
User avatar
e+
Forum Commoner
Posts: 44
Joined: Mon Jun 17, 2002 7:07 am
Location: Essex, UK

Post by e+ »

Silly question but are your chmod setting all correct as this wouldn't be picked up on your windows box.
User avatar
roninblade
Forum Newbie
Posts: 21
Joined: Thu Jun 13, 2002 7:12 pm

Post by roninblade »

what exactly is the *problem*? what error/warning message are you getting?
Post Reply