Hi, i have php working while using apache, i was just wondering if anyone knew how to be able to run an include(), or require() function to another php script locally (while passing parameters).
for example, i've tried
<?php require("http://127.0.0.1/header.php"); ?>
and it generates the error
Fatal error: Failed opening required 'http://127.0.0.1/header.php' (include_path='') in C:_cslug\public_html/index.php on line 18
though you might ask why i don't just do <?php require("header.php"); ?>, the reason is because i wish to eventually be able to pass parameters like the following
<?php require("http://127.0.0.1/header.php?header=main"); ?>
i have the exact same scripts working on another domain, but just can't get it to work locally.
any suggestions would be most helpful
P.S. Versions Apache1.3.14, PHP4.0.3pl1 on Win98SE
phoe