RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
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:

RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
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

RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread John W. Holmes
> 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

RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
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

Re: [PHP] Predefined Variables In Classes

2003-01-26 Thread Philip Olson
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

[PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
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