Terminé

173935 Copy/Replace/Chmod Script

We require a php script to copy files from our webspace to either space people have on our website (local) and/or to their website (remote), replace some code in some

html/php files, and then chmods some files.

After using this script, the user will have the option to go to "[url removed, login to view]". Note that the [url removed, login to view]" script does NOT have to be

incorporated into the new script. This will be kept separate. The user can have a different username/password if he likes. I realize that he will have to log-in

twice (my script and the editwrx script) - that's OK. However I would like the layout of this new script to be similar to the editwrx layout. Tables must be used

for the new script as I will have to edit some of the pages later.

1. Two separate script archives for "local" and "remote". I assume that the code of each will be similar to each other in most cases so you only need to make minor

modifications between them.

2. Within these archives, separate scripts for each major operation, so I can use or not use according to circumstances. Each script will be loaded in turn as

"submit" buttons are clicked and new pages are displayed.

The basic procedure is as follows:

1. User logs on to his account. If he doesn't have an account, he can create one. If the username he has chosen is already in use, he is told to try again. This

will also have a "lost password" feature. A MySQL database is used for this.

Editbox: Username

Editbox: Password

Editbox: Email Address

Link/button: Lost Password

2. User clicks the "submit" button If directory already exists for another user, he is told to try again. Otherwise he is taken to another page with an editbox

"Create Directory". When he creates this directory, it's name is added to his table in the MySQL database (that has his username/password/email) and henceforth

nobody else can create a directory with the same name. However he can overwrite the files within it himself in future (ie only if the directory name is against his

username in the MySQL database can it be used/overwritten with new files). With the remote script, another editbox may also be required for the name of his http-docs

directory ("/public_html" or whatever) but, on the local script, this should be a variable as we already know this. If he makes an error, he is told to try again.

Editbox: Main Directory (Note that this is only needed for the "remote" script. The "local" script will have a variable for "/public_html".

Editbox: New Directory

3. If the "remote" script, another page is displayed with:

Editbox: FTP Server (Note that "ftp." should already be in the editbox).

Editbox: FTP Username

Editbox: FTP Password

4. After clicking the "submit" button, a new page is displayed with a progress gauge for the operation below. A gauge will prevent just a blank page being displayed

for lengthy operations:

(a) A separate script to copy all the files from a master directory to his new directory. Some will be images and some htm files so the correct transfer modes are

necessary: ASCII or binary. A list of files will be provided with the files themselves.

(b). A separate script to chmod some files and directories. Some files may need chmoding so this option should be included here. A list of files will be provided

with the files themselves.

5. A separate script to open a new page to display 5 editboxes. A script to change tokens within the scripts into text entered in the edit boxes by the user.

"{TOKEN1}" is replaced in ALL files by the text in Editbox1, "{TOKEN2}" is replaced in ALL files with the text in Editbox2, etc. The number of tokens/editboxes will

differ so this should be clearly marked.

6. A separate script to open a new page to display 2 drop-down lists (any text will do) for multiple choices. This is for my reference only if case it is needed.

7. A separate script to open a new page to display an edit box and something to choose a colour (such as the background colour of the htm page).

[url removed, login to view] "submit" button will open either Script (d) or (e) or Script (f) below:

(d) A separate script to delete some files and directories. This is for my reference only.

(e) A separate script to rename some files and directories. This is for my reference only.

(f) A new page with the message: Your webpage has now been created. Visit it at: link to it here.

Each section (as above) should be separated with, for example," // ########## COPY START" and " // ########## COPY END" etc and operations CLEARLY commented

throughout for any changes I may wish to make later.

The script must have a consistent look throughout so [url removed, login to view] and [url removed, login to view] files or [url removed, login to view] and [url removed, login to view]) must be included.

Also I will own the copyright.

Compétences : Tout va bien, MySQL, PHP, Design de site internet

en voir plus : website design procedure, webpage scripts, procedure to design website, operations on binary, my name in binary code, my name in binary, make website start to end html, make own webpage, edit copy, different colour design for boxes, design archives, create a copy of a website, binary to txt, binary to text, binary t, c binary number, box master, we told two, tokens, replace

Concernant l'employeur :
( 47 commentaires ) Sheerness, United Kingdom

Nº du projet : #1920136

Décerné à:

eugeneglova

I like these scripts writing.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(0 Commentaires)
0.0