Re: Help, Perl can, Php can't !
| From: | Chris | Date: | Tue, 27 Feb 2001 23:14:53 +0000 |
| Subject: | Re: Help, Perl can, Php can't ! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41885@lists.php.net to get a copy of this message | ||
Strange,
phpinfo is showing this:
POST /members/plurp.asp HTTP/1.1
and a content length of 16, which is exactly right for lah=sd&dta=test
but I can't seem to get to the actual data.
Is there a way to see the acutal content data, like you can with perl:
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
> Put phpinfo() in the script to see what is going on..
>
>
> On Monday, 26 February 2001, at 09:12:11 (-0800),
> Chris wrote:
>
> >
> > I am trying to post some info to my php script using the microsoft
internet control:
> >
> > strurl = http://www.myserver.com/test.asp
> > strdata = "lah=sd&dta=test
> > Inet1.Execute strurl, "POST", strdata
> >
> > PHP returns HTTP_POST_VARS as being empty.
> > Yet, if I use PERL, I can read the posted info just fine.
> >
> > PHP does work fine with normal php forms.
> >
> > Why can PERL recognize my data, but PHP not, how are they handling the
posted info differently?
> >
> > Is there a way I can get PHP to display the raw data that the script
receives so I can see what is happening?
> >
> > Thanks for any help,
> > Chris
> >
>
> --
> David Raufeisen <david@fortyoz.org>
> Cell: (604) 818-3596
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net