Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 29th, 2009, 04:17 PM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP exec/system/passthru

Does any one know of any way of running either of these commands from PHP.
I want to be able to set permissions on one certain file if they are incorrect.

This file is set with no way of a user editing it to avoid any security problems.

Tried using sudo but obviously need to enter a password to be able to use this function.

Thanks in advance.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Get value with EXEC Javierera SQL Server 2005 6 November 3rd, 2008 04:28 PM
Combination of ASP and PHP login system Dimitris Classic ASP Professional 0 June 29th, 2005 05:17 AM
Exec a .bat file in PHP on XP freddo Beginning PHP 2 October 12th, 2004 03:27 PM
PHP File System Wylzn BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 July 7th, 2004 07:05 AM
how to create/use php template file/system junemo Beginning PHP 1 April 23rd, 2004 03:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.