Help - Search - Members - Calendar
Full Version: Php Script Not Working
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
Dadam
Hello everyone! I recently moved my website from funpic.org to zymic.com because this seemed like a much better web hosting service. I used a simple include() php script to organize my website while I was on funpic.org, but now the script does not work anymore on this new web host.

The script is embedded in my index.php page and goes...



<?php

if ($p=="") {include ("home.php");}
elseif ($p=="art") {include ("art/art.php");}
elseif ($p=="cdteam") {include ("cdteam.php");}
elseif ($p=="contact") {include ("contactme.php");}

?>



.... and so forth. The variable p was always defined in the URL... so if the link was to index.php?p=art, then it would include the art page. It does not do that anymore and I'm wondering why. Do I have to do anything in particular before I'm able to use PHP scripts?

Any help would be much appreciated. Thanks in advance.
Dadam
Thanks a bunch!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.