Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Brian Bush
Brian Bush
4,398 Points

Opening php file in browser

On openning of my php file in google chrome, I get Window size: x Viewport size: x that pops up for a few seconds and then goes away? is there a way to not have this display?

4 Answers

Tom Bedford
Tom Bedford
15,645 Points

Does it happen with every php file or just one? If it's just one could you share the code?

What is your setup like (e.g. localhost with MAMP)?

Could it be part of the code you are running or an extension you have installed in Chrome?

Brian Bush
Brian Bush
4,398 Points

I just made my first php file, so its the only one I have tried it with. I am on windows 7, using Google chrome with window re sizer plug-in. Im using XAMPP running the Apache server. the only code I have is core html markup and an echo php command. Window size: x Viewport size: x shows up below my echo command in the web page for about 5 seconds then disappears

Brian Bush
Brian Bush
4,398 Points

So I checked on my rmbp running MAMP and in google chrome with same plugin, it dosnt show the window size or viewport size. so it must be windows related?

Tom Bedford
Tom Bedford
15,645 Points

I'm not sure, I run xampp on Windows and have never seen something like that.

Can you take a printscreen of it?

It does sound like something a plugin might do.