p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

Free Code from Wrox
Go Back   p2p.wrox.com Forums > PHP/MySQL > PHP How-To
I forgot my password
Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 29th, 2009, 05:17 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2009
Location: Camberley, UK
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 06:17 AM
Exec a .bat file in PHP on XP freddo Beginning PHP 2 October 12th, 2004 04: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 08:05 AM
how to create/use php template file/system junemo Beginning PHP 1 April 23rd, 2004 04:47 PM



All times are GMT -4. The time now is 02:47 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Wiley Publishing, Inc