[TYPO3-dev] Equivalent to t3lib_div::getURL() for posting too?

Francois Suter fsuter at cobweb.ch
Mon Aug 25 08:28:46 CEST 2008


Hi Masi,

> So what exactly do you want to do? Send POST data to a script? I think a
> general "upload" function is not so easily done as a "download" function .

Basically I'm calling a TYPO3 server from another TYPO3 server and 
performing a BE login, plus passing some additional query parameters, 
and expecting some data in return. By default TYPO3 requires the login 
data to be passed as POST (I know this can be changed, but it's less 
secure and I would rather avoid that).

I would like to do this cleanly like t3lib_div::getURL(), which is 
capable of handling the use of curl or not. From your answer, I guess 
that no such function already exists. I'll try to make one then.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch




More information about the TYPO3-dev mailing list