Looking for an Perl CGI program or other language. webpage based.
1. Accept a text input field;
2. copy or upload an folder and all files inside it to the server the form resides on. The folder is located on the server Or if code requires another server;
3. The folder copied can be selectable in the form;
4. Rename the folder to the text input from the form;
5. Chmod an folder inside the copied folder to 777;
6. Text input from the form placed inside the script of an cookie;
## Deliverables
1) Complete and fully-functional working program in executable form as well as complete source code of all work done.
2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
2. Create a new folder with the text entered,
into a set parent folder hard-coded in the script,
either
example: [login to view URL]
example: [login to view URL]
without allowing the user to hack the system by entering ../ or paths that would change this;
3. Copy only one out of several folders from the main server
or server to server.
example:
An webpage form could use radio buttons to select, and determin the folder which will be copied
<FORM METHOD="" ACTION="" ENCTYPE="">
select website template:<BR>
<INPUT TYPE="radio" NAME="site1" VALUE="simple">simple site<BR>
<INPUT TYPE="radio" NAME="site2" VALUE="plain">plain site.<BR>
<INPUT CHECKED TYPE="radio" NAME="site3" VALUE="default">regular<br>
<INPUT TYPE="submit" NAME="submit" VALUE="Submit">
</FORM>
-
copy or upload the folder determined by the selection from the above example
[login to view URL]
[login to view URL]
[login to view URL]
4. Set "chmod 777" on all text files which are copied to one specific folder.
either
example: [login to view URL]
example: [login to view URL]
5. The text field entered from the form, placed inside the code of an cookie (php),
this cookie script is in the html of [login to view URL] file of the copied folder.
example:
[login to view URL]
or
[login to view URL]
The cookie so far looks like this...
<?php
// This cookie expire at midnight, May 15, 2007
setcookie( "testcookie", "text-field-input-here", mktime(0, 0, 0,5, 15, 2007) );
setcookie( "testcookie-email", "text-field-input-here (::at::) [login to view URL]",mktime(0, 0, 0, 5, 15, 2007) );
?>
I use this code to place view cookie...
<?php
echo "$HTTP_COOKIE_VARS[testcookie]";
echo "$HTTP_COOKIE_VARS[testcookie-email]";
?>
## Platform
Examples: "Windows XP", "in all 3.0+ versions of Internet Explorer and Netscape", "Linux"