Jump to content

tonbernradino

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tonbernradino's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. @wildteen88 yup.. thanks.. for got to update this thread. sorry..
  2. thanks for all your help guys.. @phorman yeah it works but my problem is when im in this location http://localhost/clientname2/ it displays nothing. but when im in this location http://localhost/clientname2/pages/ it display clientname2 even im in this location http://localhost/clientname2/ or in this location http://localhost/clientname2/pages/ it should display clientname2 thanks guys..
  3. when im in localhost/clientname2/pages/product.php it will display localhost/clientname2/pages/
  4. Hi, I would like to ask how to do this: currently im working in my localhost if I access my localhost the directory in it are: clientname1 clientname2 now, my problem is im in localhost/clientname2 how to get the clientname2 only? $protocol = $_SERVER['HTTPS'] == 'on' ? 'https' : 'http'; $URL= $protocol.'://'.$_SERVER['HTTP_HOST']."/"; this will display http://localhost/ but I want to include clientname2 $URL= $protocol.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; it will display http://localhost/clientname2/pages/product.php?page=about how to display this only http://localhost/clientname2/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.