[TYPO3-dev] Hook initfeuser and realurl

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Oct 18 18:33:30 CEST 2007


Carsten Bleicker schrieb:
>     ...
>     
>     function initFEuser(&content,&conf){
> 
>         // Instance of PEAR Objekt to send HTTP Request
>         $req =& new HTTP_Request("http://myserver.com:80/");
> 
>         // Send with POST
>         $req->setMethod(HTTP_REQUEST_METHOD_POST);
> 
>         // Send these post data
>         $req->addPostData("fName", $xml, true);

So you're sending every POST data on every request? initFEuser will 
AFAIK be called for every page hit, not for a login per HTML form.

If you want custom authentication use the authentication service. There 
are several extension around to get a grasp how they work.

Masi




More information about the TYPO3-dev mailing list