In a particular page I would like to include a file that requires $_GET parameters.
when I go to this sort of url I get what I want.
http://www.example.com/test.php?id=1234567890
I want the url to be like this
http://www.example.com/regular.php
and inside regular.php I need something like this
include('test.php?id=1234567890');
is there a way to do this? Any help would be appreciated. Thanks.
Include with Parameters
Moderator: General Moderators
Re: Include with Parameters
Code: Select all
$_GET["id"] = "123456790";
include "test.php";