I'm developing an open source CMS, but have come across a problem. The
system dynamically creates .php files for the front-end of the site, meaning
they're owned by user 'nobody'.
However, for anyone with safe mode turned on, any "require_once" or
"include_once" commands used in these php pages won't work due to safe mode
restrictions (the script whose uid is * is not allowed to access..). I want
to this system to be available to users without access to the chown command
(many hosts block it), and with safe mode on, so any suggestions?
Many thanks.
I'm developing an open source CMS, but have come across a problem. The
system dynamically creates .php files for the front-end of the site, meaning
they're owned by user 'nobody'.
However, for anyone with safe mode turned on, any "require_once" or
"include_once" commands used in these php pages won't work due to safe mode
restrictions (the script whose uid is * is not allowed to access..). I want
to this system to be available to users without access to the chown command
(many hosts block it), and with safe mode on, so any suggestions?
Many thanks. 1 2589
"Pete" wrote: I’m developing an open source CMS, but have come across a problem. The system dynamically creates .php files for the front-end of the
site, meaning they’re owned by user ’nobody’.
However, for anyone with safe mode turned on, any "require_once"
or "include_once" commands used in these php pages won’t work due to safe mode restrictions (the script whose uid is * is not allowed to
access..). I want to this system to be available to users without access to the chown command (many hosts block it), and with safe mode on, so any suggestions?
Many thanks. I’m developing an open source CMS, but have come across a problem. The system dynamically creates .php files for the front-end of the
site, meaning they’re owned by user ’nobody’.
However, for anyone with safe mode turned on, any "require_once"
or "include_once" commands used in these php pages won’t work due to safe mode restrictions (the script whose uid is * is not allowed to
access..). I want to this system to be available to users without access to the chown command (many hosts block it), and with safe mode on, so any suggestions?
Many thanks.
Pete, I think php is being twisted here. Are you sure you need
dynamic php scripts in the first place. With scripts, the idea is
static code, and dynamic data.
-- http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Permissi...ict139405.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=467189 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Miha |
last post by:
hi to everyone...
could someone mail me a sample source code of the spatial prisoner's dilemma
game...application code,not applet...thanx in advance
mihael.sedmak@fer.hr
|
by: Thomas Matthews |
last post by:
Hi,
According to Robert Martin's Dependency Inversion Principle,
http://www.objectmentor.com/resources/articles/dip.pdf,
when there is a need to test the type of an object, the
code inside the...
|
by: Colin Basterfield |
last post by:
Hi all,
Not sure if this is the most appropriate place for this so apologies if
inappropriate...
I have come back to a framework I built some time ago to see where some
refactoring can take...
|
by: c#freeskier89 |
last post by:
Can someone please give me some information on sending data through a USB
port. What I am trying to do is use the USB port (I get how to do it on a COM
port). I am using VC# 2005. I have searched...
|
by: Chris |
last post by:
Hi,
I have a dilemma. I have a web form that, when submitted, does a
window.open js function to submit the form data to a new aspx page
which then shows a report. I wanted to make sure that...
|
by: Bishop |
last post by:
I have a page that generates a grid of controls; at the end of each row is
an update button that is dynamically created with an associated click event.
The grid changes based on the date selected...
|
by: John |
last post by:
Greetings. I apologize for posting this if it is in the wrong group. The boss last week dropped vb.net on my desk and wants to create a web app and a corresponding desktop app. And I'm a newbie to...
|
by: N. Quisitive |
last post by:
Hello,
I have a dilemma that has haunted me for a couple of months now. I am
developing a content management system for a client who has their
server managed by someone else (to be more...
|
by: hzmonte |
last post by:
Correct me if I am wrong, declaring formal parameters of functions as
const, if they should not be/is not changed, has 2 benefits;
1. It tells the program that calls this function that the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |