Edquota editing user settings via PHP

I'm trying to automate the process with my ftp user creation, however I need to be able to set the quota of a user via PHP, in ssh I would use edquota username however if there a way to do this via PHP with SSH2 or ftp?

Answers


You can use the Exec command http://php.net/manual/en/function.exec.php

exec('edquota username');

Need Your Help

Jquery change class

jquery jquery-ui

I am trying to a change a class for a span located inside an h3 but I am unable to. Here is a link to what I am trying to accomplish: http://jsfiddle.net/WPxG4/9/

When I use NSRunLoop Instruments gave a leak

cocoa memory-leaks nsrunloop

When I use the following code I was told there is a leak: