NameSilo

URL and Directory thread

SpaceshipSpaceship
NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
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
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back