Jump to content

*SOLVED* include?


Guest askjames01

Recommended Posts

Guest askjames01
along the way i notice this include

[code]
include("skins/$mg2->activeskin/settings.php");
[/code]

I know this --> "$mg2->activeskin/settings.php"
is the execution of class object, but to tell you guys this is my first time to
see an include like this.

So can you guess this and elaborate the execution in details?
what this include really do?
Link to comment
https://forums.phpfreaks.com/topic/8686-solved-include/
Share on other sites

[!--quoteo(post=369819:date=Apr 29 2006, 07:14 AM:name=askjames01)--][div class=\'quotetop\']QUOTE(askjames01 @ Apr 29 2006, 07:14 AM) [snapback]369819[/snapback][/div][div class=\'quotemain\'][!--quotec--]
"$mg2->activeskin/settings.php"

so $mg2 is a Class Object.
and activeskin is a function? am i right?
and settings.php is a file where the right configuration of the skin is stored?

are all my thoughts are correct?

any opinion please?
[/quote]
Yes your thoughts are right but:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]and activeskin is a function? am i right?[/quote]
is a little wrong as its a variable not a function
Link to comment
https://forums.phpfreaks.com/topic/8686-solved-include/#findComment-31952
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.