Re: Form results
| From: | Daniel Convissor | Date: | Mon, 16 Oct 2000 17:36:47 +0000 |
| Subject: | Re: Form results | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20435@lists.php.net to get a copy of this message | ||
Hey Alan:
> they fill out the request form -- it goes to a submit page and pops out the
> mail
> what i need it to do is open a temp.php file (not showing it on the page)
> inserting the $var from the form to change the variables i have inserted
> into the page
> and save that as a different file
What you'll need to do is use the fread() and eval() functions. First, use
the example used in the PHP manual to put the contents of temp.php into a
string. Then, eval() that string. Your variables should then be filled in.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409