dendros
01-21-2003, 11:20 AM
Hi to all! as a newbie, got a problem with the newest version PHP. I installed as cgi on apache server (also newest version)
I have basically 2 files:File1 is the Form. Gets the variable Data_del as input in form, and as action it opens file2.php
The variable from the form, is not showing in my script. Variable is been recognized by php, as shown by phpinfo() function I included in the script., but is not taken by the script.
Does this have to do with the new security configuration of php (Global and registered variables?)
What do I have to change in PHP.INI file, in order to pass variable from script to script on same sesssion?
As example: the mini script:
File1.htm with form
<form method="POST" action="File2.php">
<p><input type="text" name="Data_del" size="50"></p>
<p>Data to delete:</p>
<p><input type="submit" value="Delete values"></p>
</form>
file2.php
<?php
echo "Deleted data: '$Data_del'";
phpinfo();
?>
My OUTPUT is => Deleted data: "
Thanks for the help
Dendros
I have basically 2 files:File1 is the Form. Gets the variable Data_del as input in form, and as action it opens file2.php
The variable from the form, is not showing in my script. Variable is been recognized by php, as shown by phpinfo() function I included in the script., but is not taken by the script.
Does this have to do with the new security configuration of php (Global and registered variables?)
What do I have to change in PHP.INI file, in order to pass variable from script to script on same sesssion?
As example: the mini script:
File1.htm with form
<form method="POST" action="File2.php">
<p><input type="text" name="Data_del" size="50"></p>
<p>Data to delete:</p>
<p><input type="submit" value="Delete values"></p>
</form>
file2.php
<?php
echo "Deleted data: '$Data_del'";
phpinfo();
?>
My OUTPUT is => Deleted data: "
Thanks for the help
Dendros
