Include with Parameters


Posted on 16th Feb 2014 07:03 pm by admin

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.

Did you know?Explore Trending and Topic pages for more stories like this.
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.
No comments posted yet

Your Answer:

Login to answer
201 Like 20 Dislike
Previous forums Next forums
Other forums

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

SuperCali PHP Event Calendar
does anyone have any experience with the SuperCali PHP Event Calendar? I could use some assistance

Output Full URL of Current Page
Let's say I am currently viewing a dynamic page:

http://www.mydomain.com/directory/index.php

am I using this for loop correctly
Dear buddies!

Right now I am generating a report with some details for all the dealers.

php mysql query from input textbox
Hi,

I have a text box, in that i have given the mysql query. I can able to get the query in v

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

Need help-Error istream header declaration
Hi Everyone ,

I am having issue with istream declaration. I am new to C programming.
can a

How to show more than 1 users with this code...
Hello,
i have a table that shows users only if I, as Administrator, want to be shown. But its sho

How to show a complete textarea ??
I enter Client Case Notes notes in a textarea field on a PHP form. The field is 5 rows deep and 70 c

Syntax error
hi im having a little trobble with this script
-------------------------------------------------

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash