# open_basedir new feature

- Thread: https://externals.io/message/3581
- Original archive: https://news-web.php.net/php.internals/3581
- Started by Pawel Maziarz on 2003-07-23T18:04:13+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #3581 — Pawel Maziarz — 2003-07-23T18:04:13+00:00

URL: https://externals.io/message/3581#3581

Hi there.
I've written a little patch, which enables admin to use a special char ~ in
open_basedir variable which is placed in php.ini. ~ is replaced with
script owner's home directory. i think it's useful security hack.
patch: http://dev.segv.cc/devel/patch/php-4.3.2-open_basedir.patch

cheers,
Pawel Maziarz
