RE: include("..\..\file.php") doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



include("../../dbconnect.php")



 

  _____  

De : php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] De la
part de Roland Parijs
Envoyé : vendredi 20 juillet 2007 17:02
À : php-objects@xxxxxxxxxxxxxxx
Objet :  include("..\..\file.php") doesn't work

 

Dear PHP forum members,

I have a problem with include. I am develloping a site www.mobiclips.net. 
I have placed the php files dealing with the gui, getting the pictures and
the download
all in seperate folders in the root. Now I want to include the header an
db.php,
which are in the root. I have to use something like this <?php
include("..\..\dbconnect.php")
since I grouped all php related to each other in one map which itsel is in
the map called PHP.
It works fine on XP amd windows 2003, but it does not work on the webserver
on linux.
Notthing shows up. A few test showed that .. go up a level doesn't work.
When I put Echo ERROR_ALL I get error 2039 ...

It drives me nuts, can someone, anyone help me please, it would be greatly
apreciated.

Roland Parijs.

Send instant messages to your online friends http://uk.messenger
<http://uk.messenger.yahoo.com> .yahoo.com 

[Non-text portions of this message have been removed]

 



[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux