On 12-29 16:46, David Jackson wrote: > Sean -- > > Give the attached scripts a shot, a post the results. > > Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works > fine but with Netscape-4.9 it returns var names? But > when served from Unix/Linux and Apache all 3 work as expected !! > > Anywhy give them shot. -- David
I created and ran these. After hitting submit on form.html, I get this: Fatal error: Failed to initialize session module in /usr/local/apache/htdocs/form.php on line 3 > > --- form.html --- > <?xml version="1.0" encoding="iso-8859-1"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> > <title>No title</title> > <meta name="GENERATOR" content="amaya 5.2" /> > </head> > <body> > > <form method="post" action="form.php"> > <p><input type="text" size="20" name="stuff" /></p> > <p><input type="text" size="20" name="more_stuff" /></p> > <p><input type="text" size="20" name="still_more_stuff" /></p> > > <p><input type="submit" value="Submit" /></p> > <p><input type="reset" value="Reset" /></p> > </form> > </body> > </html> > > --- form.php ---- > > <?php > // sessions on 48 N. Random Rd. > session_start(); > session_register('Green'); > session_register('Yellow'); > session_register('Red'); > $Green = $stuff; > $Yellow = $more_stuff; > $Red = $still_more_stuff; > > // basic echo of var from form > echo "We've just echoed var from form\n"; > echo "<p>$Green</p>"; > echo "<h2>$Yellow</h2>"; > echo "<h3>$Red</h3>"; > echo "<p><a href=\"form02.php\">Verify that session_vars were > passwd</a></p>"; > // Get out of here > > ?> > > --- form02.php ------------- > <?php > session_start(); > // sessions on 48 N. Random Rd. > // basic echo of var from form > echo "<html><head><title></title></head>"; > echo "<body>"; > echo "<h2>session_registers:"; > echo "<p>Green:$Green</p>"; > echo "<p>Yellow:$Yellow</p>"; > echo "<p>Red:$Red</p>"; > echo "</body></html>"; > ?> > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome One lives in the hope of becoming a memory. -Antonio Porchia Management QOTD:I am very concerned that we may not give a dog and pony show and examine where the rubber meets the road on the deliverables, etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]