Re: actualy result of problem with formfieldvalues under Suse 8.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
Am Donnerstag, 19. Juni 2003 23:21 schrieb Ruprecht Helms:
> Hi,
>
> in the meantime I set the value of register_globals = off
> the next to on.
>
> I get the same result. The following script I use for testing the
> formfieldvalues
>
> <?
> echo $begriff
> ?>
As I said before, this the wrong way. You should leave register_globals=off 
and acces your data this way:
<?php
echo $_POST['begriff'];
?>
Your second mistake was to forget the ";" and the end of the "echo"-line
>
> The value I take from a normal formfield by the default transfermethod.
What the heck do you mean with default. You should always set:
<form action=\"foo.php?op=bar\" method=\"POST\">
or mybe with method=\"GET\" and access it with $_GET
> After switching to the php-script I get a blank page without the value I
> inserted into the textfield.
No wonder;-)

CU
Thorsten

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux