Results 1 to 3 of 3
Well I've been running a script on windows and it was perfect. But now, I've moved to Linux (Suse) and I'm having this problem:
Whenever I click a link like: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2005 #1Just Joined!
- Join Date
- Jun 2005
- Posts
- 4
PHP File Include Problem
Well I've been running a script on windows and it was perfect. But now, I've moved to Linux (Suse) and I'm having this problem:
Whenever I click a link like: http://127.0.0.1/index.php?act=search, the link changes but the page doesn't.
In index.php, it is:
if (isset($act) && $act=="search")
{
include("sub/search.php");
exit();
}
Anybody has any idea why is this happening?
- 09-11-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Code:<?php $act = $_GET["act"]; if (isset($act) && $act=="search") { include("sub/search.php"); exit(); } ?>
serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 09-12-2005 #3Just Joined!
- Join Date
- Jun 2005
- Posts
- 4
thanks, this solved the problem


Reply With Quote
