2011/4/7 Angel Herráez <[email protected]>

> Two questions:
>
> 1. I see that is using the unsigned applet. How does it manage to
> access external servers for fetching the files?
>

For the RCSB (&pdbid=xxxx), it actually just sends a call back to ITSELF in
the Jmol load command, and then it opens a channel to RCSB and streams the
data back to Jmol (as a gzip file). So no file is ever created on my server.
For NIH it could
do the exact same thing, but instead it gets the data and packages it as a
Jmol load DATA command.


> What ahppens if one specifies &jmolserver= for a different location
> of Jmol files? Will it still work unsigned?
>
>
If you specify &jmolserver for a different location, you need to have the
PHP file there as well. Not sure it would be useful, actually. Well, I guess
if you had a server, too, I could just set &jmolserver to your site and use
mine just for the preliminary call. Probably not that useful.



> 2. I'd like to test this in my server. Can we have a pointer to
> getting the php source?
>
>
Of course, the way PHP works, you can't see the source. If you go to get it,
it runs! I'll send it to you.

Bob



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to