Re: open_basedir

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

 



On Sat, May 20, 2006 3:43 am, Nanu Kalmanovitz wrote:
> Using Apache 2, MySQL ver. 4.0.15a, PHP 4.2.3 (NW6.5 sp1 - Netware \
> Novell ).
>
> I'm developing PHP files with Dreamweaver8 (Adobe-Macromedia).
>
> Trying to view a file (quote_insert.php) in a browser, it displays at:
>
>
> http://www.kalmanovitz.co.il/DW8_PHP_MySQL_tutorial/admin/quote_insert.php
>
>
> the following warning \ error:
>
> Warning: open_basedir restriction in effect. File is in wrong
> directory
> in Applic:/HTDocs/DW8_PHP/admin/quote_insert.php on line 1
>
> Fatal error: Failed opening required '../Connections/seasonAdmin.php'
> (include_path='.;sys:/php/includes') in
> Applic:/HTDocs/DW8_PHP/admin/quote_insert.php on line 1
>
> while line 1 is:
>
> <?php require_once('../Connections/seasonAdmin.php'); ?>
>
>
> If I'm changing the line 1 to:
>
> <?php require_once('Connections/seasonAdmin.php'); ?>
>
> without the ../ characters and copy the quote_insert.php file to
> DW8_PHP folder it works OK.
>
> How can I solved the problem without removing the ../ and moving the
> file?

Move the file into /php/includes where it belongs.

:-)

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux