Re: [PHP] open_basedir restriction in effect

2008-04-24 Thread Yannick Warnier
Le jeudi 24 avril 2008 à 15:35 -0700, Richard Kurth a écrit : > *I keep getting this warning when I try run my script that I what to > look at the data in the mailbox for bounced email > > Warning*: opendir() [function.opendir > ]: open_basedir restric

Re: [PHP] open_basedir

2007-02-08 Thread Stut
Christopher Deeley wrote: Can anyone tell me how to set open_basedir in php.ini, to two directories like open_basedir = c:\www & c:\myhomepage From the manual (http://php.net/features.safe-mode)... "Under Windows, separate the directories with a semicolon. On all other systems, separate the

Re: [PHP] open_basedir

2006-05-22 Thread Richard Lynch
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.kal

Re: [PHP] open_basedir "/" not working after upgrade

2004-08-31 Thread Federico Petronio
Ed Lazor wrote: php_admin_flag safe_mode off php_admin_value upload_tmp_dir /tmp php_admin_value open_basedir "/" . But after setting php_admin_value open_basedir none instead of php_admin_value open_basedir "/" the problem disappeared. I just want to know the

Re: [PHP] open_basedir clarification

2004-01-09 Thread Tom Dangler
Matt, >From the php manual: The restriction specified with open_basedir is actually a prefix, not a directory name. This means that "open_basedir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory,

RE: [PHP] open_basedir clarification

2004-01-09 Thread Ford, Mike [LSS]
On 09 January 2004 01:16, Matt Grimm wrote: > Can anyone clarify this for me? Is open_basedir recursive or > restricted to the exact paths specified? This is a bit hard to find in the manual, but everything you need to know should be at http://www.php.net/manual/en/features.safe-mode.php#ini.ope

Re: [PHP] open_basedir clarification

2004-01-08 Thread Matt Grimm
Can anyone clarify this for me? Is open_basedir recursive or restricted to the exact paths specified? -- Matt Grimm "Matt Grimm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If my server has an open_basedir restriction in place for my home directory, > I understand that to mean

Re: [PHP] open_basedir

2003-06-20 Thread Ernest E Vogelsinger
At 15:03 20.06.2003, dorgon said: [snip] >Would it be possible to limit access to open_basedir without the >exception of /tmp, to allow the uploads? [snip] You (or your server admin) should add /tmp to the allowed dir

Re: [PHP] open_basedir

2003-03-12 Thread Rasmus Lerdorf
On Wed, 12 Mar 2003, Alex wrote: > the php.ini file is also not user configurable. > I think i found the place in my own php.ini file though where the > open_basedir value would be changed though :/ Right, by design, open_basedir can only be changed by the administrator by modifying either the ph

Re: [PHP] open_basedir

2003-03-12 Thread Alex
the php.ini file is also not user configurable. I think i found the place in my own php.ini file though where the open_basedir value would be changed though :/ "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > My host currently has open_basedir() enabled, and unfortu

Re: [PHP] open_basedir

2003-03-12 Thread Rasmus Lerdorf
> My host currently has open_basedir() enabled, and unfortunately, they don't > know how to disable it :p > > I'd like open_basedir() disabled because it would make my life easier, I can > hide certain files underneath the web root. > > So I've done some quick research. I'm looking at the ini_set

RE: [PHP] open_basedir Option

2003-02-19 Thread Luke Woollard
TED]] Sent: Thursday, 20 February 2003 11:18 AM To: Cc: Joachim Krebs Subject: Re: [PHP] open_basedir Option On Wed, 19 Feb 2003, Joachim Krebs wrote: > How do I set the php.ini setting open_basedir on a per-directory > basis? Ideally, I would like to set it using .htaccess files... open_bas

Re: [PHP] open_basedir Option

2003-02-19 Thread Chris Wesley
On Wed, 19 Feb 2003, Joachim Krebs wrote: > How do I set the php.ini setting open_basedir on a per-directory > basis? Ideally, I would like to set it using .htaccess files... open_basedir can only be set in php.ini or httpd.conf. You might be able to set it in stanzas within your httpd.conf, bu

Re: [PHP] open_basedir

2002-12-08 Thread Chris Hewitt
Przemysław Żółczyński PRV wrote: When I am try toput photo to the server I get this: Warning: open_basedir restriction in effect. File is in wrong directory in /mnt/host-users/zolty/tools/addprod.php on line 117 What is this? Przemek open_basedir restricts the directories that may be used. T

Re: [PHP] open_basedir without safe mode?

2002-09-11 Thread Rasmus Lerdorf
safe mode and open_basedir are completely separate. On Thu, 12 Sep 2002, Ville Mattila wrote: > Hi there, > > I was wondering if there is a possibility to get open_basedir preferences > (also set via .htaccess) active in a server running not PHP in open_basedir. > I should create a small home si

Re: [PHP] open_basedir restriction?

2002-08-22 Thread Jason Wong
On Thursday 22 August 2002 19:31, Thomas Goeminne wrote: > I am getting this message running one off my neat scripts? what does the > basedir restriction mean? Put simply you're not allowed to access files that are outside of the directory specified by "open_basedir". See php.ini and manual ->

Re: [PHP] OPEN_BASEDIR from user point of view (instead server admin)

2001-12-18 Thread M
Jim Lucas wrote: > php will return you four $vars to work with. > check this out. > http://www.php.net/manual/en/features.file-upload.php > > then work with the tmp file and get done with it what needs to be done > before the script closes cause php will delete the file when the script is > done.

Re: [PHP] OPEN_BASEDIR from user point of view (instead server admin)

2001-12-18 Thread Jim Lucas
php will return you four $vars to work with. check this out. http://www.php.net/manual/en/features.file-upload.php then work with the tmp file and get done with it what needs to be done before the script closes cause php will delete the file when the script is done. jim - Original Message --

RE: [PHP] open_basedir

2001-07-08 Thread Ben Bleything
Ulrich, Pretty sure that the way to fix this will be to make sure that PHP just can't read those files... so that the apache (or whatever server) user that runs the PHP [module/binary] doesn't have access to read them. If you are concerned specifically about /etc/passwd, shadow it. You can fi

Re: [PHP] open_basedir bug or misunderstanding?

2001-02-08 Thread Richard Lynch
> I found something strange and don't know if it is a bug or that it is the > way it should work. > > Situation: > -- > > open_basedir = . I would try "./" for open_basedir... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i