Wow... don't do either of those. First of all, you can't use ini_set to affect the register global settings and you're using the $_POST/$_GET superglobals, which work regardless of your setting. So that's not the issue.
Does the phpinfo() function product any output? What if you view the source of the "php" file, do you see your PHP code? ---John Holmes... ----- Original Message ----- From: "Hidayet Dogan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 10:47 AM Subject: Re: [PHP] Problem with the post variables. Check your register_globals directive in php.ini file. If its value is "Off", change your register_globals directive to "On", and restart your web server. Or add ini_set("register_globals", "1"); line top of your php file. Hidayet Dogan [EMAIL PROTECTED] Pleksus Bilisim Teknolojileri D.T.O. A.S. ---------------------------------------------------------- caldiran sok. 14/6 06420 kolej ankara * www.pleksus.com.tr tel : +90 312 4355343 * faks: +90 312 4354006 On Mon, 18 Aug 2003, [iso-8859-1] Klaus Kaiser Apolinário wrote: > Guys I have a problem here. > I'm using PHP 4.3.2 and httpd 1.3.28. > Look my exemple. > I have a page whith a Form method post, and I submit this page to teste2.php, but I dont can request de data from the text box... > > > ####################### > This is the test page > > <html> > <body> > <form action="teste2.php" method="post" enctype="multipart/form-data"> > <input type="text" name="texto"> > <input type="submit" value="ok"> > </form> > </body> > </html> > > ##################### > Teste2.php > > <?php > $string = $_POST['texto']; > echo "Var em post: ".$string."<br>"; > echo "Var em get: ".$_GET['texto']."<br>"; > > > //phpinfo(); > ?> > ############################################ > > Some one can help me...??? > > Klaus Kaiser Apolinário > Curitiba online -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php