Re: PHP query string

2002-11-08 Thread sgarcia
In <[EMAIL PROTECTED]>, on 11/04/2002 at 07:21 AM, Brian Ashe <[EMAIL PROTECTED]> said: >M> I'm using Red Hat 8 as my web server with PHP module. The PHP version >is M> 3.23.52-3 (The original RPM that comes with the distro). It seems >that M> the PHP module have a problem with getting the quer

Re: PHP query string

2002-11-05 Thread Martín Marqués
On Lun 04 Nov 2002 19:51, Jason Costomiris wrote: > On Monday, November 4, 2002, at 10:21 AM, Brian Ashe wrote: > > Newer versions of PHP all come with "register globals" turned OFF in > > the > > php.ini file. Turn it to on and it should solve your problem. > > Bad idea. Use the $HTTP_POST_VARS

Re: PHP query string

2002-11-05 Thread Martín Marqués
On Lun 04 Nov 2002 19:55, Michael Rubin wrote: > Why is it a bad idea to turn on "register globals" ? Read Linux Journal of October. There is an article about security in PHP programming, which says why you should leave register_global off. Basiclly, if you have a variable $query that makes a qu

Re: PHP query string

2002-11-04 Thread Jason Costomiris
On Monday, November 4, 2002, at 05:55 PM, Michael Rubin wrote: Why is it a bad idea to turn on "register globals" ? Read the bugtraq advisories... -- Jason Costomiris <>< E: jcostom {at} jasons {dot} org / W: http://www.jasons.org/ Quidquid latine dictum sit, altum viditur. -- redhat-list

Re: PHP query string

2002-11-04 Thread John Nichel
Manual -> Search -> register_globals = http://www.php.net/manual/en/printwn/security.registerglobals.php Michael Rubin wrote: Why is it a bad idea to turn on "register globals" ? On Monday, November 4, 2002, at 10:21 AM, Brian Ashe wrote: Newer versions of PHP all come with "register gl

RE: PHP query string

2002-11-04 Thread Michael Rubin
Why is it a bad idea to turn on "register globals" ? > > On Monday, November 4, 2002, at 10:21 AM, Brian Ashe wrote: > > > Newer versions of PHP all come with "register globals" turned OFF in > > the > > php.ini file. Turn it to on and it should solve your problem. > > Bad idea. Use the $H

Re: PHP query string

2002-11-04 Thread Jason Costomiris
On Monday, November 4, 2002, at 10:21 AM, Brian Ashe wrote: Newer versions of PHP all come with "register globals" turned OFF in the php.ini file. Turn it to on and it should solve your problem. Bad idea. Use the $HTTP_POST_VARS and $HTTP_GET_VARS arrays. -- Jason Costomiris <>< E: jcostom

Re: PHP query string

2002-11-04 Thread John Nichel
Actually, it's better to leave register_globals turned off. Turning it on presents a security risk. With globals off, you can access the query string this way... $_GET['variable_name'] This works if you send the variables along with the link, or if you use the "get" method to send a form. T

RE: PHP query string

2002-11-04 Thread Chad Skinner
> Newer versions of PHP all come with "register globals" turned OFF in the > php.ini file. Turn it to on and it should solve your problem. or leave it off and just reference the full variable $HTTP_POST_VARS['my_variable'] or $HTTP_GET_VARS['my_variable'] -- redhat-list mailing list unsubscr

RE: PHP query string

2002-11-04 Thread Meganone
Hummm... oops.. You right, the version is 4.2.2-8.0.5. Regards, Yoav Orot. On Mon, 2002-11-04 at 16:43, Gordon McDowall wrote: > Hmmm...are you sure that version number isn't for MySQL > > -Original Message- > From: Meganone [mailto:meganone@;actcom.co.il] > Sent: 04 November 20

Re: PHP query string

2002-11-04 Thread Meganone
Thank you very very much! Regards, Yoav Orot. On Mon, 2002-11-04 at 17:21, Brian Ashe wrote: > Hello Meganone, > > Monday, November 4, 2002, 9:31:16 AM, you textually orated: > > M> Hello. > > M> I'm using Red Hat 8 as my web server with PHP module. The PHP version is > M> 3.23.52-3 (

Re: PHP query string

2002-11-04 Thread Brian Ashe
Hello Meganone, Monday, November 4, 2002, 9:31:16 AM, you textually orated: M> Hello. M> I'm using Red Hat 8 as my web server with PHP module. The PHP version is M> 3.23.52-3 (The original RPM that comes with the distro). It seems that M> the PHP module have a problem with getting the query stri

RE: PHP query string

2002-11-04 Thread Gordon McDowall
Hmmm...are you sure that version number isn't for MySQL -Original Message- From: Meganone [mailto:meganone@;actcom.co.il] Sent: 04 November 2002 14:31 To: [EMAIL PROTECTED] Subject: PHP query string Hello. I'm using Red Hat 8 as my web server with PHP module. The PHP version is 3.23.52-

RE: PHP query string

2002-11-04 Thread Meganone
I have a simple PHP script which determined what to include in the index.php page by the pid value which is being forward from the query string. Regards, Yoav Orot. On Mon, 2002-11-04 at 16:31, Ronald Hermans wrote: > The link doesn't seem to work? > > Cheers, > Ronald > > > > -Or

RE: PHP query string

2002-11-04 Thread Brenden Walker
: Ronald Hermans [mailto:r.hermans@;every-angle.com] > Sent: Monday, November 04, 2002 9:32 AM > To: '[EMAIL PROTECTED]' > Subject: RE: PHP query string > > > The link doesn't seem to work? > > Cheers, > Ronald > > > > -Original Message--

RE: PHP query string

2002-11-04 Thread Ronald Hermans
The link doesn't seem to work? Cheers, Ronald -Original Message- From: Meganone [mailto:meganone@;actcom.co.il] Sent: maandag 4 november 2002 15:31 To: [EMAIL PROTECTED] Subject: PHP query string Hello. I'm using Red Hat 8 as my web server with PHP module. The PHP version is 3.23.52-