RE: [PHP] Handling a post operation
| From: | Jennifer Goodie | Date: | Wed, 16 Apr 2003 22:34:46 +0000 |
| Subject: | RE: [PHP] Handling a post operation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144204@lists.php.net to get a copy of this message | ||
Since you said you tried $_POST, it is probably not the register_globals
setting in the ini. You might want to swith your print_r to
print_r($_GLOBALS) to see what all you've got and to see if your data
appears anywhere in any vars, but it sounds like maybe your form is the
problem.
> -----Original Message-----
> From: Glenn MacGregor [mailto:gtm@almeric.com]
> Sent: Wednesday, April 16, 2003 3:26 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Handling a post operation
>
>
> Thanks,
>
> The result from that print_r function is the following:
>
> Array\n(\n)\n
>
> So this means that php is not parsing my incoming data, correct?
> Is there a
> way to get some logs or something from php to see where this is failing?
>
> Thanks
>
> Glenn
>
> "Alexandru Coseru" <alexcos@home.ro> wrote in message
> news:001401c30462$39115850$0200a8c0@lynx...
> > Try print_r($HTTP_POST_VARS)
> > That should tell you if your vars are actually coming...
> >
> >
> >
> > Alex
> > ----- Original Message -----
> > From: "Glenn MacGregor" <gtm@almeric.com>
> > To: <php-general@lists.php.net>
> > Sent: Thursday, April 17, 2003 12:48 AM
> > Subject: [PHP] Handling a post operation
> >
> >
> > > Hi All,
> > >
> > > I have a windows application written in Borland C++Builder 5
> which uses
> > the
> > > Indy components for internet connectivity. I am using there HTTP
> component
> > > to do some get and post operations. All these operations work
> except for
> > the
> > > multipart/form-data post, I send 3 variables down, none of
> which are set
> > in
> > > the script. I have tried to use $varname as well as $_POST['varname']
> and
> > > $HTTP_POST_RAW_VARS. None of these have any data. I have examined a
> > tcpdump
> > > of the bad one and good one, not much different (nothing that
> matters as
> > far
> > > as I can tell).
> > >
> > > I am using apache 2 and php 4.2.2. The same application
> worked correctly
> > > when I was using apache 1.3 and php 4.0.x.
> > >
> > > Can someone please point me in the correct direction, is
> their a php.ini
> > > setting that changed between the two versions?
> > >
> > >
> > > Thanks for your help
> > >
> > > Glenn MacGregor
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>