Jump to content


Photo

hide url name


  • Please log in to reply
4 replies to this topic

#1 greenba

greenba
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts
  • LocationBosnia and Herzegovina

Posted 11 October 2006 - 08:59 AM

Hi,

What I would like it to have my domain name to be still, no mather on what page I am.

I would like it to be written in the browser www.domain.com even when I am on the page www.domain.com/addus.php

I saw it in phpmyadmin, but I don't know how to do it.

regards,
Adnan

#2 TEENFRONT

TEENFRONT
  • Members
  • PipPipPip
  • Advanced Member
  • 338 posts

Posted 11 October 2006 - 09:07 AM

Im pretty sure this is only done with the use of frames.

So set your index.html file to hold the rest of the site content in a full size frame.
Teenfront.co.uk : Free Teen Chat -  FunkySmileys.co.uk : MSN Smileys -  ArcadeMonkey.co.uk : Free Flash Games
8Baller.co.uk : Free Multiplayer Pool [url=http://8Baller.co.uk]

#3 otuatail

otuatail
  • Members
  • PipPipPip
  • Advanced Member
  • 960 posts

Posted 11 October 2006 - 09:11 AM

Frames are a bad idea.

If you repeatedly call the same home page. use a variable or session variable

on the index.php page have the following

if(page == 1)
{
include(page1.phpl');
}

#4 TEENFRONT

TEENFRONT
  • Members
  • PipPipPip
  • Advanced Member
  • 338 posts

Posted 11 October 2006 - 09:19 AM

but if he uses the your above suggested he will have to add ?page=x  to the url... he said he only wants the domain to show.
Teenfront.co.uk : Free Teen Chat -  FunkySmileys.co.uk : MSN Smileys -  ArcadeMonkey.co.uk : Free Flash Games
8Baller.co.uk : Free Multiplayer Pool [url=http://8Baller.co.uk]

#5 otuatail

otuatail
  • Members
  • PipPipPip
  • Advanced Member
  • 960 posts

Posted 11 October 2006 - 09:29 AM

Not if he sets a session variable




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users