Re: Detected a pattern that malfunctions includes

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

 



On Fri, October 6, 2006 11:17 am, Deckard wrote:
> I see now that only when the inclu function "has to scale up in the we
> tree", it fails.
>
> For example:
>
> This works:
> include_once("classes/database/dBInsert.php");
>
> This don't:
> include_once('../adodb/adodb.inc.php');

safe_mode and that other security restriction on what you can/can't
include do this, I think...

Which is probably hack to save you from somebody pushing
'../../../../../etc/passwd' into:
include $myfile;
but so it goes.

Meanwhile, back at the ranch, if you set include_path you'd be able to
move on to something productive :-) :-) :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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