Results 1 to 2 of 2
I have a script that sends data from 1 form via post to a second for verifacation, if correct I need to send the text file name that was created ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-24-2006 #1
- Join Date
- Nov 2004
- Glacier, WA
Sending data to forms via php
I have a script that sends data from 1 form via post to a second for verifacation, if correct I need to send the text file name that was created to my 3rd script for mailing, the file name is randomy created for example "67220060324110628PST.txt" How can I pass this informatipon the the 3rd php script?
- 04-04-2006 #2
you couldd put this in in 2 ways, either with a form, using a hidden input:
<input type="hidden" name="filename" value="$filename">
where $filename is previously calculated to be (as per your example): 67220060324110628PST.txt
Then use the $_POST['filename'] variable to access this..
Otherwise, you could use the GET method, such as linking to:
and use $_GET['filename'] to get this"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327