Well-Known Member
May 24, 2009
Austin, TX
cPanel Access Level
Root Administrator
Whether opening this via file_get_contents() or defining as variable the value of the variable is always the CODE and not the return value; however am able to output the actual diskusage which confuses me.

<?cp StatsBar::stat(% ,count) display=diskusage ?>
Is there anyway around this?

strlen() gives me 50(the length of the code above) but when I define say:

$my_quota = "<?cp StatsBar::stat(% ,count) display=diskusage ?>";

$my_quota returns the actual quota but I am not able to use this quota for a comparison as the actual sting contains the code and not the value of the code excuted.

My apologizes for the lack of explanation.