[PHP] cant send data from a website to another

2002-07-28 Thread kju
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? --

Re: [PHP] cant send data from a website to another

2002-07-28 Thread Justin French
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.