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

unserialize help, getting errors
hi all ,
I got a form with 6 fields (2 input and 4 select box), when the page loads one block is

Calling variables
I want to call this to my website but it doesn't display what I want it to,

Code: <h5&

Loop Through Date Range
Hi guys,
I have date range as parameter like 01/JAN/2009 TO 16/JAN/2009 now i want to loop thro

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

Login Script Issues
I am using a script I got from http://phpsense.com/php/php-login-script.html in order to allow peopl

browse folder only
hi,
is there a way i can browse or get the directory or folder only and not the file?
i just w

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

Shopping Cart
Can anyone direct me to a Simple, Basic structure of a shopping cart.
New to classes. I want to s

losing variables between php brackets
Hi

have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys

PHP error (line 38) my website
Hello everyone, I'm new on this
and I got a web site thats got a error not showing the photos on<

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