Some thing wrong in this code.. Pls help

<? if ( $_GET['go'] != '' ) { include($_GET['go']); } ?>

Here i will tell what my prob actually is…

The file 123.html contains images which are also in the same dir(content)…
If i execute Http://

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 of this file is needed)
Not only google any site can be done with this

Any one know how to do this? pls help me

a script like that can hardly bee securte. (and u should have mentiont that it is missing the images of the google side as well)

i’d sugest u do something else.

either ude a static include in ur home.php file including a header and fooder to get the side around.

or take a look at this topic:

to get the imagereferences working u my just make them absolute path:

<img src="/content/Image.jpg">

btw: the included file sould have no or -tag.

hope this helps

edit: the link was not working Link not working

sry was a copy and paste error:

Sponsor our Newsletter | Privacy Policy | Terms of Service