One-Click Virt Domain Script Install

I'm using PHPManager and just want to add a link (I know how to do this) to the nav for my clients to install scripts like FormMail, Invisionboard, OSCommerce, Counters, Etc. Etc.

Basically, I want to know how I can use PHP to copy a file from like a /root/installs/whatever.tar.gz file to the virtual domain of the user (I will use variables pulled from PHPManager to do like /home/virtual/$domainname$domain/home/$username/mainwebsite_html/ )

Can anyone help me with this?

 

 

 

 

Top