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

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

 



try
include("../../dbconnect.php"); #Linux way to call

On 20/07/07, Roland Parijs <uhibullura@xxxxxxxxx> wrote:
>
>   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.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Cesar D. Rodas
http://www.cesarodas.com/
Mobile Phone: 595 961 974165
Phone: 595 21 645590
saddor@xxxxxxxxx
saddor@xxxxxxxxxxxx


[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