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

[PHP] open_basedir restriction in effect

2008-04-24 Thread Richard Kurth
*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 restriction in effect. File(/var/qmail/mailnames/easycontactpro.com/bounce/M

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

[PHP] open_basedir

2007-02-08 Thread Christopher Deeley
Can anyone tell me how to set open_basedir in php.ini, to two directories like open_basedir = c:\www & c:\myhomepage thanks

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

[PHP] open_basedir

2006-05-20 Thread Nanu Kalmanovitz
Hi! 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 f

[PHP] open_basedir Question

2005-07-26 Thread Aaron Greenspan
Hi, Has anyone else had a problem with the open_basedir restriction completely ignoring what you tell it? I've added several directories to my allowed path (separated by colons) in my Apache configuration file, and then when I go to run my scripts, I'm told that /home/sites/site1/web/ and so

[PHP] open_basedir restriction and local value for php.ini

2004-09-22 Thread Bogdan Ribic
Hello all, I am having problems with cleint's webserver and its open_basedir settings. open_basedir is set to folder where all my php files are, but when I include a file that already includes another one (all under allowed directory tree) it throws out warnings: Warning: open_basedir restric

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

[PHP] open_basedir "/" not working after upgrade

2004-08-25 Thread Federico Petronio
Hello all... I just upgrade PHP from version 4.3.4 to version 4.3.8. After the upgrade, almost everything worked fine but the open_basedir directive. The server I administer provides hosting for several domains, all of those with its own homedir restricted using open_basedir in a scope. Some

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

[PHP] open_basedir clarification

2004-01-08 Thread Matt Grimm
If my server has an open_basedir restriction in place for my home directory, I understand that to mean I can only open files in the same directory as whatever script is currently running. Is that correct? -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 L

[PHP] open_basedir restriction in effect

2003-06-23 Thread Logan McKinley
I am getting the following error when I am trying to include a file using include("includes\handle_errors.inc"); <-> Warning: open_basedir restriction in effect. File is in wrong directory in /var/hosting/www/www.site.com/http/PHP/compare.php on line 4

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

[PHP] open_basedir

2003-06-20 Thread dorgon
hi folks, I just realised that open_basedir also prevents the access to /tmp. Thus, file uploads aren't possible. One solution would be, to use a tmp directory within open_basedir, to give PHP the required write access. But assume you're using a server with multiple VirtualHosts and www-dirs. You

[PHP] open_basedir not expanding properly into subdirectories

2003-03-12 Thread SLanger
Hello Everyone I'm running PHP 4.1.2 (no I can't upgrade at the moment) and I'm running into a problem with open_basedir. The way I understand the open_basedir directive it allows only file access to the directory mentioned and its subdirectories. In my setting I have a directory setting in th

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

[PHP] open_basedir

2003-03-12 Thread Alex
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() function: h

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

[PHP] open_basedir Option

2003-02-19 Thread Joachim Krebs
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... Joachim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] open_basedir

2002-12-08 Thread Przemysław Żółczyński PRV
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] open_basedir and ".."?

2002-09-23 Thread Thomas -Balu- Walter
I am not sure how open_basedir restricts myself. In fact I have problems with files that begin with "../". I can not include those files, and get the following Warning: open_basedir restriction in effect. File is in wrong directory in /home/vwww/x/www/htdocs/conpresso/news/aktuelles/index.p

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

[PHP] open_basedir without safe mode?

2002-09-11 Thread Ville Mattila
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 site space for some users with PHP equipped, but I don't like to put safe mode on as there are some other a

[PHP] open_basedir

2002-08-30 Thread Jens Winberg
Hello! My ISP is using the "open_basedir" restriction which (I think) is stopping me from using the function "fopen" to read a document on a different server. I have been in contact with the ISP and they want to allow me to use the fopen function for my purposes, but they have this restriction

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

[PHP] open_basedir restriction?

2002-08-22 Thread Thomas Goeminne
I am getting this message running one off my neat scripts? what does the basedir restriction mean? Warning: open_basedir restriction in effect. File is in wrong directory in /www/T/tgoeminne/web/www.hiphopstore.be/admin/includes/application_top.php on line 175 Warning: Failed opening '/admin/inc

[PHP] open_basedir problem

2002-05-23 Thread Patrick Cossette
Hi, I have the folowing problem under PHP 4.0.6 running as a module with Apache 1.3.22. I want to give my users access to PHP as an Apache module but I want to restrict what they can do with open_basedir, safe_mode,... so they don't have the right to access other's files. I have a problem with

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
- From: "M" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 2:45 PM Subject: [PHP] OPEN_BASEDIR from user point of view (instead server admin) > Hello, I posted a question some days ago, but no answers received. I > notice many people di

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

2001-12-18 Thread M
Hello, I posted a question some days ago, but no answers received. I notice many people discussing OPEN_BASEDIR apache restriction here, but all discussion are from server admin point of view. Let me ask question in another way: Is it possible to tell HTTP command the complete path/name into lo

[PHP] open_basedir: what is a typical setting?

2001-12-14 Thread Marc Delisle
Hi, I would like to know from sysadmins, what do you put usually in your open_basedir? It is mostly "."? This is to check if/how we could make phpMyAdmin's dump uploads work on an open_basedir server. Thanks. -- Marc Delisle phpMyAdmin dev. team -- PHP Gener

[PHP] open_basedir and Apache virtual hosts

2001-10-03 Thread Daniel Lacroix
I use php4 in apache as a module. It seams that I can only setup php with php.ini. I want to use the open_basedir option to limit php to a web site files. But my apache use virtual host. It means that depending on the host (fun.test.org or www.test.org) I start in /home/httpd/fun or /home/httpd/w

[PHP] open_basedir and safemode-ish things

2001-08-09 Thread Chris Cameron
I looked through the archives, and tried finding info in the PHP manual, but haven't had much luck. I'm looking for a way to restrict virtual host users to their specific little directory by putting a thing in my httpd.conf. It looked like open_basedir should do the trick, but it didn't, and ob

[PHP] open_basedir problem?

2001-07-31 Thread uhlar
Hello, I have a virtual domain "www.domain.sk" in config file. the domain resides in /home/user/www.domain.sk directory. I set up php_admin_flag open_basedir /home/user for that virtual domain, and in php.ini I have "open_basedir = /home" The user created this script: http://www.domain.sk/index

RE: [PHP] open_basedir

2001-07-08 Thread Ben Bleything
day, July 08, 2001 12:18 AM To: [EMAIL PROTECTED] Subject: [PHP] open_basedir mornin, i´m new to the list and to php, so please don´t jump to hard on me, when you think the question is dump. okay: is there a possibility to make a server only execute the php scripts in the document root it was call

[PHP] open_basedir

2001-07-07 Thread Yacoon
mornin, i´m new to the list and to php, so please don´t jump to hard on me, when you think the question is dump. okay: is there a possibility to make a server only execute the php scripts in the document root it was called from? I saw something about open_basedir, but am not sure if that is the

[PHP] open_basedir error message.

2001-02-11 Thread Floyd Baker
Hello. I need an explanation of this error message please. This is the entire result of my upload of a jpg to a blob and I get the open_basedir error on straight uploads also. Although they do get uploaded. On this one I started from scratch with some 5 star directions and still flunk out.

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

[PHP] open_basedir bug or misunderstanding?

2001-02-07 Thread Remco van den Berg
Hi php users, 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 = . PHP-4 runs as apache module. (unix) Safe-mode is on. Webserver document tree: /home/www/html/ There exists a link in that tree to the www di