[Phpmyadmin-devel] exporting files - Designer/schema integration

Bimal Yashodha kb.yashodha at gmail.com
Sun Jun 22 20:40:51 CEST 2014


HI,

I figured out, instead of posting
location.href = $form.attr('action') + '?' + $url;

is working well, with $_GET in instead of $_Post.

Is this a good approach?




On Sun, Jun 22, 2014 at 11:26 PM, Bimal Yashodha <kb.yashodha at gmail.com>
wrote:

>
>
>
> On Sun, Jun 22, 2014 at 7:29 PM, Madhura Jayaratne <madhura.cj at gmail.com>
> wrote:
>
>>
>>
>>
>> On Sun, Jun 22, 2014 at 7:02 PM, Bimal Yashodha <kb.yashodha at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm currently integrating "exporting relational schema" functionalities
>>> into the designer. And in "Operations > Edit or export relational
>>> schema", I have moved the "exporting files" functionality in to a popup
>>> dialog box in the designer. So the process is working through ajax calls.
>>>
>>> But my problem is, although the header parameters are set correctly,
>>> downloading is not working.
>>> 'Content-Description: File Transfer'
>>> 'Content-Disposition: attachment; filename='myfile.pdf'
>>> 'Content-Type: application/pdf'
>>>
>>> Should I get the file as JSON encoded and the process it at the browser
>>> or, have I missed something?
>>>
>>> -- I'm using the function calls initialized from the schema_export.php
>>> with minor changes.
>>>
>>>
>> Have you pushed your code related to this development to your repo? I
>> couldn't find the related code. If not please do that, so I would be able
>> to have a look and give you relevant advice.
>>
>>
> I pushed the code for the new development.
> And also please note that, it contains the code changes I did for the
> comments of Marc Delisle.
>
>
>> --
>> Thanks and Regards,
>>
>> Madhura Jayaratne
>>
>>
>>
>> ------------------------------------------------------------------------------
>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>> Find What Matters Most in Your Big Data with HPCC Systems
>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>> http://p.sf.net/sfu/hpccsystems
>> _______________________________________________
>> Phpmyadmin-devel mailing list
>> Phpmyadmin-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140623/e48c1902/attachment.html>


More information about the Developers mailing list