Re: [PHP] Re: Register Globals

2005-11-05 Thread Unknown Unknown
why not extract($_POST); and use your old code or somthing like that, same thing really if code don't work

[PHP] Re: Register Globals (more)

2005-11-05 Thread Bogdan Ribic
John Taylor-Johnston wrote: How do I rebuild this peice of code to be register_globals=off friendly? Just when I thought I was getting good. This keeps up, I'm changing back the php.ini myself. John If your code absolutley needs register_globals and you don't have the time to rewrite it,

[PHP] Re: Register Globals

2005-11-04 Thread Curt Zirzow
On Thu, 03 Nov 2005 21:17:39 -0500, John Taylor-Johnston wrote: > Ok, you are all used to working with register_gloabsl=off. > > mail($to, stripslashes($subject), wordwrap($message, 60), "From: > $from\r\n"); > > I change this line to: > > mail($to, stripslashes($_POST["subject"]), wordwrap($_P

Re: [PHP] Re: Register globals and ini_set

2005-07-10 Thread Richard Lynch
On Fri, July 8, 2005 6:50 am, Jason Barnett said: > [EMAIL PROTECTED] wrote: > But what you *can* do, is to ini_get('register_globals') and have your > script act accordingly. You could for example extract() your $_GET and > $_POST variables. > > http://php.net/manual/en/function.extract.php If *

[PHP] Re: Register globals and ini_set

2005-07-08 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Hi, If i use, at the beginning of my scripts, ini_set('register_globals', 0), register globals will be turned off? Thanks ini_set() just doesn't make sense for that directive. register_globals takes the input data from HTTP requests and sets them in the symbol tab

[PHP] Re: register globals question

2003-08-29 Thread Kae Verens
Merlin wrote: Hello, I am wondering if an application written to work with register globals set to off ($_GET[variable] etc.) would work with a system, where register globals is set to on? yes. Kae -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] Re: Register globals on and off

2003-02-01 Thread Philip Olson
On Sun, 2 Feb 2003, Pat Johnston wrote: > I've read that an include file in each of your pages with the lines below > should do the trick for you with register_globals OFF.. > > Not sure if this is a valid way to go though... > > extract($_SERVER); > extract($_ENV); > extract($_

[PHP] Re: Register globals on and off

2003-02-01 Thread Pat Johnston
I've read that an include file in each of your pages with the lines below should do the trick for you with register_globals OFF.. Not sure if this is a valid way to go though... Regards, Pat "Davy Obdam" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hell