[TYPO3-dev] Base ( absolute ) URL

Alex Masidlover alex.masidlover at axiomtech.co.uk
Wed May 16 10:34:38 CEST 2007


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