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

Change the down state color of the Android ActionBar UP/Home button

android android-actionbar actionbarsherlock

I'm using ABS, and I basically just want to know if there is any property that will let me overide the default blue I'm getting in a button down. My application is all red, and it's a small detail ...

After Download zip file datalist is not Bind

asp.net vb.net sql-server-2005 visual-studio-2008

Below is my code on button search i need to bind my grid and download zip file problem is there zip file is download but my grid is not bind function is called but datalist is not bind

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.