Re: what is the problem?
| From: | Chris Knipe | Date: | Sat, 19 Jul 2003 14:08:30 +0000 |
| Subject: | Re: what is the problem? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155886@lists.php.net to get a copy of this message | ||
> form.php is this:
>
> <form method="post" action="takeform.php">
> <input type="text" value="sentence">
> </form>
<input type="text" name="sentence" value="sentence">
Learn to code html ;)
> takeform.php is this:
>
> <?
> echo $sentence;
> ?>
echo $_POST['sentence'];
> these codes are running at my hosting
> but it couldn't run on my computer. I tried on pws, apache, php 4.0.4, php
> 4.2.2 and php5 but it didn't work.
>
> why i couldn't run it?
It's more than likely register_globals that is off.
--
me