A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
is any PHP server var that gives url of home page without the webpage.php file name
Joined: Jan 31, 2010
Jul 27, 2012 07:53:15
is any PHP SERVER Var that gives url of home page without the webpage.php file name?
to give "www.ffff.com/ggg/"??? this want for testing so NOT? have to change url during debugging/testing...well?
Joined: Oct 09, 2011
Jul 27, 2012 10:39:55
The various data provided by $_SERVER variable should enable you to construct the value you want:
Joined: Apr 06, 2010
Jul 27, 2012 10:48:02
If you add a
call to a page, one of the things it prints out is a complete list of all the $_SERVER variables that are being set and their values. You should be able to work out from there which one gives you the information you need.
Joined: Aug 26, 2012
Aug 26, 2012 23:41:16
You are most definitely looking for PHP info. Check out
for a list of all of phpinfo's constants.
I am a writer for
Web Programming Tutorial and Reference
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: is any PHP server var that gives url of home page without the webpage.php file name
Tomcat + Apache first time
Running an applet in Wicket 1.3.5
Creating file on server - java.io.FilePermission - access denied
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013