Check out the LimeSurvey source code on GitHub!

Sending JSON when insert query !

5 years 2 weeks ago - 5 years 2 weeks ago #73787 by rodeo_fly
Well I am not even near to it
And this is not very conforting :

all rite it's not that funny but it means that this is wanted for years !
Serioulsly where is the guy who wrote this huge exportsresult.php ?
Don't you think it would take so many time for this guru to provide a simple script to get csv ?

Let's be constructive maybe some others will have the will and with the will we can everythings...yes we can !

foreach($_POST as $key=>$value)
echo $key."=".$value."&";
gives us

so wee need all those parameters to get our csv but we can't run the script from outside the admin.php or else we get a warning on csrf token violation

If I just take the script outside and comment the line...ahem ^_^

When I look again to that function my arms are falling down on the floor...How come this two csv lines are so complex to produce ???
Last Edit: 5 years 2 weeks ago by rodeo_fly.

Please Log in to join the conversation.

5 years 2 weeks ago #73810 by Mazi
For Limesurvey 2.0 we are porting all code to the MVC framework "Yii". I'm not sure if thise file was already properly restructured but you can check out the "limesurvey_yii" branch to have a look and test.
For the upcoming Google Summer of Code (if we will be accepted again by Google this year), there might be a task to create an API for such cases, see

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form