Forum Moderators: coopster
page.php?type=stuff
and then it uses the var "type" in an include statement, like
include("../forms/$type.php");
that worked fine on my old comp running AppServ, and it still works fine on my 1&1 host. but now that I got a new comp and installed AppServ and put the same php pages on it, it doesn't work. It now says
Warning: main(../forms/.php): failed to open stream: No such file or directory in
Warning: main(): Failed opening '../forms/.php' for inclusion
indicating that it's not getting the "type" var from the url anymore.
What's going on? and is there a quick fix for this?
That should cure the problem.