<?
if ( $_GET['go'] != '' ) {
include($_GET['go']);
}
?>
Here i will tell what my prob actually is…
Consider
The file 123.html contains images which are also in the same dir(content)…
If i execute Http://www.youngbuddy.com/main.php?go=content/test.html
When includeing the html file on the main page… it includes it as if it’s actually executing the file. So it’s trying to get the image file from the same dir where main.php is present and not the dir content/. It is not posible for me to change all the locations of images, pages, etc from the root dir… for that main.php file… So i want a script which exactly looks like the code in this site
http://www.tamilflame.com/test.php?go=home.php
http://www.tamilflame.com/test.php(code of this file is needed)
http://www.tamilflame.com/home.php
http://www.tamilflame.com/test.php?go=h … google.com
Not only google any site can be done with this
Any one know how to do this? pls help me