![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Uh... you can do it, just make sure the permissions of the file in question are writeable by "other". bill.berggren@padobe.com (William L. Berggren) wrote in message news:<290c5e5f.0306221441.3535cfdb@posting.google. com>... > Well, everything you do that is web-based is under "apache" user, not > root. Thus, you can't edit config files or make frontends to gui > programs (you might possibly be able to make apache the same user as > yourself to do this). If you use php-cgi, you can then run the script > as root or any user and it will work. If your zsh, need not be run as > root, you can probably just exec("./zsh shellscript"); > > Bill > > > Keith <nospam@nospam.com> wrote in message news:<vfaei5c3ss8uc4@news.supernews.com>... > > I am running PHP 4.3.2 on Apache 1.3.27 on Solaris. I would like to to > > do 2 things through php. > > > > 1. Edit a config file. eg. "config.txt" > > 2. Start a shell script eg. "zsh shellscript" > > > > Can someone propose a secure and _efficient_ way to do this? > > > > Thanks! | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: editiing, file, php, through |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pear /File/File CSV.php | Helgi Þormar Þorbjörnsson | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear /File/File CSV.php | Helgi Þormar Þorbjörnsson | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear /File/File CSV.php | Helgi Þormar Þorbjörnsson | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear /File/File CSV.php | Helgi Þormar Þorbjörnsson | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear /File/File CSV.php | Helgi Þormar Þorbjörnsson | Pear | 0 | 05-20-2007 6:42 PM |
| Featured Websites | ||||
|