forms - PHP - Get path minus root -


so have link:

http://kenthomes.net/amelia-cove (we use alias system.)

then open pop-up iframe (http://kenthomes.net/shareplan.php?mod=39)

how can pass string "amelia-cove" page?

my best guess make link = http://kenthomes.net/shareplan.php?mod=39&plan=amelia-cove

but how retrieve "amelia-cove" initial page?

try this:

$_server['request_uri']

in above example, have value of: /amelia-cove. if want rid of /, try this:

trim($_server['request_uri'],'/');


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -