Jump to content

Creating dir, Copy files and pass variables to 2 files


the_kerb

Recommended Posts

My problem:  ???

 

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

 

Hi Lumio,

 

thanks for the tip but I believe that I couldn't express myself correctelly.

I understand the functionality of the immense material provide by you but the problem is that I need to right to a variable within a second file, let make easy to you:

 

$variable = whatever posts from the createdir page

 

 

<par name = stuff . $variable>

 

this happens on the second file and I have only one form with 3 fields.

 

it is not a matter of just write into a simple text file.

 

Hop I could explain a little better, sorry for the mess.

 

Thanks

 

Kerb

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.