Thank you very much. === On Fri, 27 Jul 2007 00:26:24 -0500 (CDT) "Richard Lynch" <ceo@xxxxxxxxx> wrote: > It's register_globals, and you should fix this ancient script to not > rely on register_globals being "on" > > On Wed, July 25, 2007 5:30 pm, Patrik Hasibuan wrote: > > Dear my friends... > > > > I create a very simple script in html and php as a first step. I use > > suse, apache2, mysql and php. > > > > I wonder why this script does not work: > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > <html> > > <head> > > > > <meta content="text/html; charset=ISO-8859-1" > > http-equiv="content-type"> > > <title>Guru - Virtual bookstore who understands you for those want > > to be a GURU</title> > > > > > > </head> > > <body> > > > > Help us for statistic data collection for increasing our service by > > 'filling our guestbook'.<br> > > <form action="cgi/cgibukutamu.php" method="post"> > > <table> > > <tr><td align="right">Name: </td><td align="left"><input type="text" > > name="tfnama"></td></tr> > > <tr><td align="right">Location: </td><td align="left"><input > > type="text" name="tflokasi"></td></tr> > > <tr><td align="right">E-Mail: </td><td align="left"><input type="text" > > name="tfemail"></td></tr> > > <tr><td align="right">URL: </td><td align="left"><input type="text" > > name="tfurl"></td></tr> > > <tr><td align="right">Comments: </td><td align="left"><input > > type="text" name="tfkomentar"></td></tr> > > <tr><td align="right"><input type="submit"></td><td > > align="left"><input type="reset"></td></tr> > > </table> > > </form> > > > > </body> > > </html> > > > > The value of "tfnama" is empty. > > cgi/cgibukutamu.php > > <html> > > <table> > > <tr><td></td><td></td></tr> > > <tr><td align="right">Name</td><td align="left"><?php echo "$tfnama" > > ?></td></tr> > > </table> > > </html> > > > > I had a look the into the "/etc/apache2" but I didn't find any > > "global_variable" switch as I used to find in httpd.conf > > " > > suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./* > > suseonthelap:/etc/apache2 # > > " > > > > I got used to find "global_variable=on" line in the httpd.conf. > > > > What should I do now? Please tell me. > > -- > > Patrik Hasibuan <patrikh@xxxxxxxxxxxxxxxxxxxxx> > > Junior Programmer > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > Some people have a "gift" link here. > Know what I want? > I want you to buy a CD from some indie artist. > http://cdbaby.com/browse/from/lynch > Yeah, I get a buck. So? > > > -- Patrik Hasibuan <patrikh@xxxxxxxxxxxxxxxxxxxxx> Junior Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php