Hi all, I am writing a TYPO3 extension to externally call Cake applications and merge their output into TYPO3 pages. Away from TYPO3 what I am basically trying to do is to access Cake output from another (external) PHP script over HTTP protocol and post process it. Everything is working perfectly now except for one detail:
If the Cake application uses authentication I am not sure which way to go to authenticate my external PHP script against the Cake application. In my script I am currently using file_get_contents('http://...') to poll the Cake application, which is working just fine as long as Cake does not request authentication. A solution I am thinking of is to use Curl, set it up to save cookie data and send login post headers to the Cake login page. After that I could do a second Curl access to the Cake controller of my choice and poll the output that I need. But before I implement this rather complex solution I would like to get your comments. I have a feeling that I am overlooking a much simpler solution here. Any hints are welcome that point me into the right direction to elegantly solve this. Cheers, Jörg. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en