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.

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

PHP friend keyword equivalent
is there a PHP equivalent for the C++ friend keyword?

problem in pagination when processing with selectbox form
Hi,

I have a search form, with select boxes, if am selecting the value from the form, it work

UTL File problem
Hi
I have a file in certain path with the following permissions (The file is a dummy file witho

Posting Serialized Data Not Working
I am trying to send an object from one PHP file to another using POST. I serialize the object and th

Month String to Numeric?
Hi guys,

Given a month as a string, is there a simple way to find the numeric representation

firefox wouldnt stream mp3 files completely from my php page
hi everyone,
I have a php file trying to read and stream mp3 files. It works fine in IE but my pr

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

Form Help
Here is the form:

Line number On/Off | Expand/Contract<? include("../include/sess

Legal Issues for SAP ERP o ERP in general
Hi experts,

Can someone please help me finding some documentation about legal issues tha

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