yes, that's quite easy:
PHP Code:
$BaseLoc = "http://www.regart.ch/clients/i-rebelles/";
if(!isset($_GET['name'])){
include $BaseLoc."index.asp";
}else{
if(!@include $BaseLoc.$_GET['name']."index.asp"){
include $BaseLoc."index.asp";
};};
This will load the index page if no file is requested or the request is invalid, if the request is valid then it opens it normaly.
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
Bookmarks