WTB: Simple PHP Script Paypal $10

Discussion in 'Programming' started by nicheestates, Aug 15, 2008.

  1. #1
    I need a php script that will create other php page templates based off of files in a folder.

    For example:

    Folder1 contains

    file-name1.txt
    file-name2.txt
    file-name3.txt

    I need the script to create the corresponding .php files on the fly into Folder2

    I would like to click a button and have it create inside of Folder2. So the contents of Folder2 would be:

    file-name1.php
    file-name2.php
    file-name3.php

    I also need the .php file that is created to be based off of an existing template.

    file-name1.php would be:

    
    <?php include("inc/staticfile.php"); ?>
    <?php include("inc/staticfile1.php"); ?>
    <?php include("inc/staticfile2.php"); ?>
    <?php include("folder1/file-name1.txt"); ?>
    
    PHP:
    file-name2.php would be:
    
    <?php include("inc/staticfile.php"); ?>
    <?php include("inc/staticfile1.php"); ?>
    <?php include("inc/staticfile2.php"); ?>
    <?php include("folder1/file-name2.txt"); ?>
    
    PHP:
    file-name3.php would be:
    
    <?php include("inc/staticfile.php"); ?>
    <?php include("inc/staticfile1.php"); ?>
    <?php include("inc/staticfile2.php"); ?>
    <?php include("folder1/file-name3.txt"); ?>
    
    PHP:
    And so on until all of the files from within Folder 1 were created in Folder 2.

    Quick payment via paypal.

    Thanks
     
    nicheestates, Aug 15, 2008 IP
  2. catanha

    catanha Well-Known Member

    Messages:
    402
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I can do this job for you very fast. PM Sent !
     
    catanha, Aug 15, 2008 IP
  3. nicheestates

    nicheestates Peon

    Messages:
    676
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Job Completed. Payment Sent.
    Thanks for the responses.
     
    nicheestates, Aug 15, 2008 IP