r page included this class file
> and called the methods of the class. How would I do that? Because
> right now
> it returns a blank string.
>
>
>
> > -Original Message-
> > From: John W. Holmes [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, January 26, 2003 3:
I do that? Because right now
it returns a blank string.
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 26, 2003 3:37 PM
> To: '@ Nilaab'; 'Php-General'
> Subject: RE: [PHP] Predefined Variables In Class
> Well, I don't think this has anything to do with predefined variables
> being
> global or not because I only have use for them within the specific
> methods.
> The methods will capture their values and assign them to a variable
inside
> the function, which will return that variable at the end. Th
d this then that would be great.
>>
>>Read:
>> http://www.php.net/variables.scope
>>
>>Also note that $_SERVER is an autoglobal.
>>
>>Regards,
>>Philip
> -Original Message-
> From: @ Nilaab [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, J
Read:
http://www.php.net/variables.scope
Also note that $_SERVER is an autoglobal.
Regards,
Philip
On Sun, 26 Jan 2003, @ Nilaab wrote:
> Hello Everyone,
>
> I am a little confused. Why do predefined variables like $PHP_SELF or
> $DOCUMENT_ROOT not process within a class, in the methods se
Hello Everyone,
I am a little confused. Why do predefined variables like $PHP_SELF or
$DOCUMENT_ROOT not process within a class, in the methods secifically. For
example:
someFunction() . $PHP_SELF;
return $path;
}
}
?>
I just threw this together to give you an example of how I might b
6 matches
Mail list logo