HasmanNNC
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by HasmanNNC
-
-
Many thanks! Problem is solved and it finally works. :)
-
Thanks for the quick reply :) Do I change the $pathToIncludePage; to $http://www.domain.com/whatever.htm; or the absoulute path? like $/home/h/a/s/public_HTML/whatever.htm ?
-
... I couldn't find anything to properly answer my question. I read the PHP Faq, and the link for the rest of Dynamic URLs was dead. Its a stupid question, I know, but I really need help, so please dont just hit back :P
Anyways, I wanted to display my content as: http://www.domain.com/index.php?page=whatever.htm
Before I had bought a host, I was using hostultra and the following script worked:
<?php include ("$page"); ?>
I would type that where I wanted the external page to display, and it would display there automatically. This way, I could create a page with only text and it would display on the index.php file providing I typed the correct URL. However, I recently bought a server from GoDaddy and I transfered my website over, but the include didn't work. Instead, I was forced to create a seperate PHP file for every page and include a header.php and menu.php. I realised that if ever I want to change layouts, I'll have to change every single page. I'm wondering how I can fix this problem, and whether or not its a matter of editing php.ini or not. I know this is a dumb question, but the dumber, the easier to answer right? Please help me. If
PHP Configuration Help
in PHP Coding Help
Posted
As you can see Virtual Directory Support is disabled. Is there anyway to enable it?
Sorry for the n00b question :P