sure --



 $file = "/tmp/t.png";
 $msg = $_REQUEST[msg];
 $type = $_REQUEST["POST"];
 echo "msg=$msg;type=$type;len=".file_put_contents($file, $image);



print load("http://your.server/test.php?POST?_PNGJBIN_&msg=OK")

msg=OK;type=_PNGJBIN_; len=19564


On Fri, Sep 21, 2012 at 12:12 PM, Paul Pillot <> wrote:

Alex beat me to it. Right. Sorry, it's not the WRITE command. It's this:

Var x = load("")

You  will get a return from your server, but in the process Jmol will send the PNGJ file in the  POST. I can send you the PHP side of this if you want to see it.


It would be very valuable for me to have a look at the PHP code. I've made several trials some time ago, but could not find where the data is in $_POST 

Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.;262219671;13503038;y?
Jmol-users mailing list

Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN

If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900