[TYPO3-dev] Base ( absolute ) URL

Ries van Twisk typo3 at rvt.dds.nl
Wed May 16 23:14:27 CEST 2007


This what I use:

t3lib_div::getIndpEnv('TYPO3_SITE_URL')


On May 16, 2007, at 12:40 PM, Peter Klein wrote:

> Hi Alex.
> Try selecting "phpinfo()" in the Install Tool. That should show you  
> a list
> of various enviroment and server vars you can access.
>
> --
> Peter Klein / Umloud Untd
>
> "Alex Masidlover" <alex.masidlover at axiomtech.co.uk> wrote in message
> news:mailman.227548.1179304468.21067.typo3-dev at lists.netfielders.de...
> Hi,
>
> 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,
>
> Alex Masidlover
>
> -- 
> Open Source Specialist
> Axiom Tech Limited
> W: http://www.axiomtech.co.uk
> T: 0845 1270316
>
> Axiom Tech is a Limited Company registered in England and Wales at 92
> Didsbury
> Road, Stockport, SK4 2JL.  Axiom Tech's company number is 5684132,  
> our VAT
> registration number is 878 6568 46.
> Unless agreed otherwise, all services and products supplied by  
> Axiom Tech
> are
> subject to our standard terms and conditions, available on request.
>







More information about the TYPO3-dev mailing list