567434 PHP script to edit a file on multiple cpanel accounts

En curso Publicado May 22, 2012 Pagado a la entrega
En curso Pagado a la entrega

I have a reseller web hosting account that uses WHM and Cpanel. I want to run a script that will allow me to replace text from a file located on multiple cpanel accounts at once.

For example, if I have:

- 100 cpanel accounts in my WHM reseller account

- A file located at 'includes/templates/[url removed, login to view]' in every cpanel account

- A block of text from the file.

- A block of text to replace the text from the file.

I want to be able to:

- Select which cpanel accounts to edit.

- Enter in the file path to the file I want to edit.

- Enter in the text that will be replaced.

- Enter in the replacement text.

- Click a submit button to replace the text in the selected cpanel accounts.

If the selected file is not writable, the script will chmod the file then chmod it back to its original permissions after editing.

The script will also allow me to delete a file from multiple cpanel accounts.

This part of the script will allow me to:

- Enter in the path to a file I want to delete.

- Choose which cpanel accounts to delete the file from.

- Click a delete button to delete the file from multiple accounts.

The script will use WHM's remote access key to perfrom these functions.

Please let me know if you need any more details.

Edición Odd Jobs PHP

Nº del proyecto: #2313398

Sobre el proyecto

Proyecto remoto Activo Jul 11, 2012