Well with what i haven given you, you should be able to get what you’ll need. What you can do with out the above is making the following.
// Show all information, defaults to INFO_ALL
upload it to where your own file is and you will get the path where the file is being executed from so if it says /home/site/public_html/dir1/dir2/phpinfo.php your own file would be /home/site/public_html/dir1/dir2/ourownfile.php. If it includes files then you will need to read the above link because there many paths that can be used but you could need or want a specific path.
Login to your SocialEngine admin panel
Under the Layout menu, click the Layout Manager link
From the Layout Manager page, click the New Page link
Specify a title for the page and click Create Page
Click the Edit Page Info link and specify a value for the PAGE URL option.