Re: [PHP] pass variable from php script to another php script

2002-01-04 Thread Kevin Stone
quot;toni baker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 12:13 PM Subject: [PHP] pass variable from php script to another php script > I would like to pass the "$text" variable to the body > of an email message in another php scri

[PHP] pass variable from php script to another php script

2002-01-04 Thread toni baker
I would like to pass the "$text" variable to the body of an email message in another php script. The code is below: < -- upload.php -- > if (!$file=fopen(text.txt", "r")) { echo "Could not open file"; } else { $text=fread($file, 100); fclose($file); } < -- mail.php -- > $to =