The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
listing folders and using in script truCido Shell Programming and Scripting 1 05-31-2007 08:11 AM
script to loop around folders grinder182533 Shell Programming and Scripting 2 11-14-2006 08:46 AM
Script to print multiple copies of the same file Alpha7 Shell Programming and Scripting 1 11-10-2006 06:56 PM
how to syncronize two folders in unix sushil_d10 Shell Programming and Scripting 1 07-11-2005 11:50 AM
Script To dlete PDF file s and Folders ved123 Shell Programming and Scripting 10 05-04-2005 05:49 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-26-2006
edtech edtech is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 3
Php script that copies Unix folders?

I work as a website designer where I work on different directories on a server but my boss doesnt give me root permission for security reasons. So I have a temporary folder where I work and he copies the files over as he has root permission. The command he uses is usually like:

cp -fR /home/johndoe/public_html/websites/teachered/* /home/teachered/public_html/

And that updates the websites.

Is there a way a PHP script can be made where I just click it like a regular URL and it updates the Unix folders? A password field would also be nice, so the copy is made only if the password is correct.

thank you
Edtech
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0