ahallicks
11-12-2006, 03:28 PM
Hey guys,
I use PHP pages at work, but basically simply put the html on to pages that already have the PHP so I don't know anything about it. I use includes to make my pages smaller via the <? require ?> script and have starting building sites at home and want to use this function there.
I've had a look round the net and it seems that I need something on my server to recognise php pages as at the moment if a php page loads it give a directory page of my website and does not actually show the page. Do I need something at the top of my page to let the browser know it's a php page?
Any help would be greatly appreciated!
I use PHP pages at work, but basically simply put the html on to pages that already have the PHP so I don't know anything about it. I use includes to make my pages smaller via the <? require ?> script and have starting building sites at home and want to use this function there.
I've had a look round the net and it seems that I need something on my server to recognise php pages as at the moment if a php page loads it give a directory page of my website and does not actually show the page. Do I need something at the top of my page to let the browser know it's a php page?
Any help would be greatly appreciated!