Creating dir, Copy files and pass variables to 2 files

Discussion in 'PHP' started by the_kerb, Nov 29, 2007.

  1. #1
    My problem: :confused:

    I need to create a folder on the server weekly named by the user.
    To this folder copy the contents of an /Original folder.
    Inside the new folder edit one of the files to insert a data with a XML path generated in another application, copied (via memory) and pasted within the very first form and passed to the file in question.

    <param name="FlashVars" value="xmlfile= $lanofile" />

    the $lanofile is the value that I need to pass from the form to be read by this file.

    I have created an form (n.php) that POST the name of the folder to a second file (creatdir.php) everything is cool until I have to edit the third file.

    How can I pass the value of one of the formfileds to a second file and them read this value as a variable to be consumed as mentioned above?
    Or actually right whatever is on the third field to this position (not using variables)

    Any help on this one?

    Kindly

    The_kerb
     
    the_kerb, Nov 29, 2007 IP