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

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

 



Thank you very much, I hav changed the backwar d slashes to forward slashes and now it seems to 
work ....

Roland

----- Original Message ----
From: Cesar D. Rodas <saddor@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Friday, July 20, 2007 2:03:46 PM
Subject: Re:  include("..\..\file.php") doesn't work

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

On 20/07/07, Roland Parijs <uhibullura@yahoo. com> 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.cesaroda s.com/
Mobile Phone: 595 961 974165
Phone: 595 21 645590
saddor@gmail. com
saddor@guaranix. org

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




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

[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