[TYPO3-dev] Base ( absolute ) URL

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Wed May 16 10:56:20 CEST 2007


Hi!

Alex Masidlover wrote:
> I'm currently developing an extension that connects to a payment engine, 
> the payment engine requires a return URL. I can't work out how to get 
> the base URL (i.e. http://www.myserver.org/path/to/typo3/install/) so 
> that I can then add the pi_getPageLink to the end of it. We don't use 
> RealURL - and I think it would be overkill to add it just to get the 
> full path.
> 
> I'm also interested to know whether there is a way of geting to the home 
> page of the site (although presumabley in 'standard' mode I can just add 
> index.php to the base URL).
> 
> Thanks in advance for any help,

Check t3lib_div::locationHeaderUrl()

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)




More information about the TYPO3-dev mailing list