473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

PHP Permissions Dilemma

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.
Jul 17 '05 #1
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
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
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
12
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...
0
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...
5
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...
0
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...
1
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...
9
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...
0
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...
16
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...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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...
0
BarryA
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...
0
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.