the_kerb Posted November 29, 2007 Share Posted November 29, 2007 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 Link to comment https://forums.phpfreaks.com/topic/79390-creating-dir-copy-files-and-pass-variables-to-2-files/ Share on other sites More sharing options...
Lumio Posted November 29, 2007 Share Posted November 29, 2007 mkdir() copy() fopen() fwrite() fread() fclose() Link to comment https://forums.phpfreaks.com/topic/79390-creating-dir-copy-files-and-pass-variables-to-2-files/#findComment-401898 Share on other sites More sharing options...
the_kerb Posted November 29, 2007 Author Share Posted November 29, 2007 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 Link to comment https://forums.phpfreaks.com/topic/79390-creating-dir-copy-files-and-pass-variables-to-2-files/#findComment-402448 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.