Re: cant send data from a website to another

From: Date: Sun, 28 Jul 2002 10:19:05 +0000
Subject: Re: cant send data from a website to another
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110044@lists.php.net to get a copy of this message
Try echo $_POST['nameofthefield']; If this works, it's to do with register_globals directive in your php.ini file. You can set it to on, which will solve your problem, or you can choose to be more secure, and write better scripts, by choosing to keep it off, as with the above line of code. Search the archives of this list for "regisiter globals" and "new global variables", because this has been discussed over and over and over and over. Justin on 28/07/02 8:04 PM, kju (kju@arteq.de) wrote: > > Hi newsgroup friends, > my name is mike and im qite new to php. > i have one problem: i cant send date via a <form action="example.php" > method="post">. > so in the the php file called example, i write echo $nameofthefield, but the > data isnt send, so nothing is written in the browser! > what can i do? > > > > >

« previous php.general (#110044) next »