Well, you can check that easily enough on the command line of your browser.
You did change the URL to your actual server right?

On Mon, Sep 24, 2012 at 10:01 AM, Tamas Horvath <hota...@gmail.com> wrote:

> I'm trying to do the print load option with
> jmol.scriptWait('print load("
> http://myserver/servlet/?POST?_PNGJBIN_&msg=OK";)';
>
> but I get a FileNotFound exception.
>
>
> On 24 September 2012 04:47, Robert Hanson <hans...@stolaf.edu> wrote:
>
>> sure --
>>
>> test.php:
>>
>> <?php
>>
>>  $file = "/tmp/t.png";
>>  $msg = $_REQUEST[msg];
>>  $type = $_REQUEST["POST"];
>>  $image = $GLOBALS['HTTP_RAW_POST_DATA'];
>>  echo "msg=$msg;type=$type;len=".file_put_contents($file, $image);
>>
>> ?>
>>
>>
>>
>> jmol:
>>
>> print load("http://your.server/test.php?POST?_PNGJBIN_&msg=OK";)
>>
>> result:
>> msg=OK;type=_PNGJBIN_; len=19564
>>
>>
>> Bob
>>
>> On Fri, Sep 21, 2012 at 12:12 PM, Paul Pillot <
>> paul.pil...@ac-orleans-tours.fr> wrote:
>>
>>>
>>>
>>> Alex beat me to it. Right. Sorry, it's not the WRITE command. It's this:
>>>
>>> Var x = load("http://xxx.xxx.xxx/servlet/?POST?_PNGJBIN_";)
>>>
>>> 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.
>>>
>>> Bob
>>>
>>> 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
>>> Paul
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Got visibility?
>>> Most devs has no idea what their production app looks like.
>>> Find out how fast your code is with AppDynamics Lite.
>>> http://ad.doubleclick.net/clk;262219671;13503038;y?
>>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>>> _______________________________________________
>>> Jmol-users mailing list
>>> Jmol-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> --
>> Robert M. Hanson
>> Larson-Anderson Professor of Chemistry
>> Chair, Chemistry Department
>> St. Olaf College
>> Northfield, MN
>> http://www.stolaf.edu/people/hansonr
>>
>>
>> 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
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to