@Honza: While testing that out right now with the example I posted there, I saw the file being created, but there are no GET or POST parameters sent. Do you have an explanation for that? Your description should be enhanced by the info how to handle the request.
Sebastian
Jan Honza Odvarko
unread,
Dec 22, 2011, 7:53:01 AM12/22/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fir...@googlegroups.com, odv...@gmail.com
On Thursday, December 22, 2011 8:21:24 AM UTC+1, Sebo wrote:
@Honza: While testing that out right now with the example I posted there, I saw the file being created, but there are no GET or POST parameters sent. Do you have an explanation for that?
I am not PHP expert, but I guess that's because the PHP script is wrong.
Note that the content-Type of the posted data is application/xml
Here is new version of the script that works for me:
<?php $filename = 'consoleexport.log';
if (!$handle = fopen($filename, 'a')) { echo 'File "'.$filename.'" could not be opened'; exit; }
if (!fwrite($handle, $content)) { echo 'Can\'t write into file "'.$filename.'"'; exit; }
echo 'Done!'; fclose($handle); ?>
Honza
Željko Filipin
unread,
Dec 22, 2011, 12:31:33 PM12/22/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fir...@googlegroups.com, odv...@gmail.com
Thanks Sebastian and Honza. Honza's script is working for me.
Željko
luyaan
unread,
May 14, 2012, 6:24:01 AM5/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fir...@googlegroups.com
Hi!
Is there a way by exporting the answers of a ajax request? Currently I can export only the request urls, but I want to export also the answers delivered by the requests. Is that possible?
luyaan
unread,
May 14, 2012, 6:27:09 AM5/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fir...@googlegroups.com
Hi,
can I also export the ajax request answer? Currenty I am only able to export the request URL, but I also want the ajax answer. Is that possible?
Jan Honza Odvarko
unread,
May 14, 2012, 7:52:59 AM5/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebug
I guess that by "ajax request answer" you mean, HTTP response body,
correct?