PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
but $contents dosnt actually display anything, if i look at the page source the content of the php file will be there but i want the content to be displayed in the browser.
NOTE: This file is being opened locally - NOT over the internet
Well im on windows, so i doubt it is an issue with the permissions, and being that the content of the php file is the html source of the page i assume the web server and php can see the file
Oh, I see. I think I misunderstood. If you want PHP to execute $contents simply use eval($contents); Just don't eval the contents of the current script or you'll have an infinite loop.
(if by html source, you mean everything included (not the output of the file))
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.