Jump to content

*SOLVED* include?


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.