[TYPO3-core] RFC #16011: Feature: getUrl function needs support for sending POST data
Jigal van Hemert
jigal at xs4all.nl
Mon Oct 25 11:07:26 CEST 2010
Hi,
Attached a follow up with POST support for fsockopen (if includeHeaders
is set) and a separate block for POST support if no includeHeaders was set.
How to test:
attached is a PHP script for a userFunc.
Use TS like:
10 = COA_INT
10 {
includeLibs = fileadmin/16011.php
stdWrap.postUserFunc = user_getUrl
stdWrap.postUserFunc {
url = http://localhost/index.php?id=13
user = test
pass = test
pid = 10
}
}
Modify the PHP script to set includeHeaders or not.
This should display the contents of the url, and if it's a TYPO3 page
and the credentials are correct any access restricted content for that
user should also be displayed.
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16011_followup.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101025/7acadd3b/attachment.asc>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101025/7acadd3b/attachment.htm>
More information about the TYPO3-team-core
mailing list