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

Getting the full city list from maxminds geoip database
I am suprised I can't find any references to this.

I have maxminds geoip lite installed and i

Small problem with image resize script
Hi!

I am a little bit new to php and I have an issue installing an image resize script I down

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

Display search result
Hi!

I have a SQL database with information about albums and track (music).

This is wh

Error: SQL Syntax; Line 1
Code:

<?php require "global_settings.php"; ?>
<title&g

Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks.

Email Script does not reach destination
Hey Guys look at this code snippet :
Code:
//read a line from the file

$myFile = "

gettext translates ALWAYS?
I'm using gettext with the new version of XAMPP (5.3.0) on Windows Seven RTM (build 7600)
gettext

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

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