NameSilo

URL and Directory thread

Spaceship Spaceship
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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back