Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

URL and Directory thread

SpaceshipSpaceship
SpaceshipSpaceship
NamecheapNamecheap
Watch

DJDOG

Established Member
Impact
0
URL and Directory

I must feel dumb but this will be real quick,

I need to get a path to the URL and directory without using any varibles like

PHP:
http://domain.com/directory/

What I mean by varibles is define.

PHP:
$Domain = "http://domain.com";
$Directory = "directory";

Like:
PHP:
$Domain = "http://".$_SERVER["HTTP_HOST"]."".$_SERVER["REQUEST_URI"]."";

but the php file is in the way of what it is...

All I want it to do is you upload the script in the correct directory and shows info, done!
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back