Hi Hauke,

> I do not know why, but $result = t3lib_div::getURL($url, false, $headers);
> returns always false (is is in the class.tx_pagepath_api.php) instead of
> the URL.


> This is my simplyfied PHP code in my PHP script which calls the
> extension as mentioned in the manual:
> <?php
> require_once(t3lib_extMgm::extPath('pagepath').'class.tx_pagepath_api.php');
> 
> 
> class tx_extname {
> function main() {
> debug(tx_pagepath_api::getPagePath('8'),'link');
> }
> }
> ?>
have an look in the code - there is t3lib_div used, so you have to
inlcude it too.

But what is your problem? Do you want to use that classes in your own
extension? Or does it not work as expected in the backend?

gruss,
martin
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to