For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2004 > Re: [PHP-DB] Register Globals = OFF not passing variable









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Register Globals = OFF not passing variable
Craig Hoffman

2004-09-25, 3:58 am

My apologies for not being clear. ;)

I am not getting an error message. The script works just fine when
Register Globals are turned on in the php.ini file. I am simply trying
to understand what I need to change in order to have RG off and still
have my code to work. See the area of the code where the functions
start

function display_private_results($user_id, $area, $username)

This seems to be the problem area. These variables are not being
passed when registered globals are turned OFF.

On Sep 24, 2004, at 8:51 PM, M Saleh EG wrote:

> nothing's clear !!
> What's the error that u get?
> wat does the function get or return??
>
> is it a variable scope problem? or what... I dont get the picture..
> maybe u should paste the error ur getting..
>
>
> On Fri, 24 Sep 2004 20:12:46 -0500, Craig Hoffman
> <choffman@eclimb.net> wrote:
>
>
>
> --
> M.Saleh.E.G
> 97150-4779817
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com