On Tue, Jul 1, 2008 at 1:17 PM, Matt palermo <mpalermo@xxxxxx> wrote: > My PHP is running as a user with limited rights. I'd like to execute a > command line as a different user. I'm trying to delete a file and the PHP > user doesn't have access to do this. I know the username and password for > the admin user that has rights to delete a file. Is there a command I can > use to make PHP run a delete command as the admin user? If so, how can I do > this? You can always create a script and have crond handle it running as the admin user, if you're on *NIX. Otherwise, check into the Winblows command `AT`. -- </Daniel P. Brown> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php