Hi Jens,

did you load the SVG file from the same server than the PHP file (in
your case localhost). You cannot load the SVG file directly from the
harddisk and post to your localhost server. This counts as different
source domains, which is forbidden and results in a "security violation".

So in your case you need to open the SVG file also from your localhost
webserver and not directly from disk.

in your callback function you receive a data object that you can use
as follows:

callBackFct(data) {
  if (data.success) {
    alert("data processed successfully");
    //here you can use the property 'data.content'
    //to access data sent back from postURL
  }
  else {
    alert("error in transmitting data");
  }
}


>          postURL(url,xmlstr,SaveCallback(),'text/plain');

I don't think you need the parenthesis after the call to the callback
function. I also don't know if the fourth parameter in postURL
(text/plain) is valid. Haven't found any documentation on that.

Andreas





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to