Re: Newbie Question
From: Garp (garp7_at_no7.blueyonder.co.uk)
Date: 04/14/04
- Next message: Garp: "Re: need help"
- Previous message: Garp: "Re: Limiting HTML char count code with php."
- In reply to: AzRael: "Re: Newbie Question"
- Next in thread: Dennis Biletsky: "Re: Newbie Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 14 Apr 2004 11:53:09 GMT
"AzRael" <socken@gmx.ch> wrote in message
news:7j5q70lq9srl1td68k54adbupptgb2g05p@4ax.com...
> On Wed, 14 Apr 2004 12:21:23 +0200, Henk Burgstra <egosum@xs4all.nl>
> wrote:
>
> >Search the archives for register_globals
> >Basically, you have to change
> >echo $textfield
> >to
> >echo $_POST['textfield'];
> >
> >Regards,
> >Henk Burgstra
> >
>
> Hey thanks alot!!!
> It works!!
>
> I guess it's more secure to write $_POST['textfield'] instead of
> chanigng the register_globals...
> Becuase I could change these settings, but of course, if I upload my
> files on a different server and the settings there are different....
>
> Again, thanks!!
>
> Regards
> AzRael
Please don't change register_globals, it's only really still there to enable
old code to work (written back when it defaulted to 'on'). Globals are bad,
m'kay?
Garp
- Next message: Garp: "Re: need help"
- Previous message: Garp: "Re: Limiting HTML char count code with php."
- In reply to: AzRael: "Re: Newbie Question"
- Next in thread: Dennis Biletsky: "Re: Newbie Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|