Re: Help! Weirdness with PHP as CGI on Win95
| From: | David Robley | Date: | Wed, 19 Jul 2000 02:00:47 +0000 |
| Subject: | Re: Help! Weirdness with PHP as CGI on Win95 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7196@lists.php.net to get a copy of this message | ||
On 19 Jul, Bradley McCrorey wrote:
> This may well be an apache question, but somehow I don't think so.
>
> I'm building an intranet for my department at work and part of it involves a
> script that sends e mail. That's really not all that important, though. I'm
> trying to build a test environment for scripts at home so that i can try
> them out without having to upload them first.
>
> The real problem is that php doesn't seem to be accepting switches from
> forms.
>
> By switches I mean something like this:
> <form action="mail.php" method="post">
> <input type="text" name="bleah">
> </form>
>
> and then in the handler..
>
> <?
> echo $bleah;
> ?>
>
> This doesn't seem to work and it's driving me nutty.
>
> Is this a common problem on Win95? Seems like a pretty substantial bug if
> so...
>
> BTW, phpinfo() reckons I'm using
> "PHP Version 4.0.1pl2"
>
> Cheers,
>
> Bradley
>
Try traversing the HTTP_POST_VARS array and see if it's in there,
assuming you have track_vars on. You may have some slightly different
settings in you INI file, especially if you used the 'optimised'
template as a basis.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA