comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL with php
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL with php [message #52287 is a reply to message #52286] Tue, 23 January 2007 02:38 Go to previous messageGo to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
pranavkesarkar@gmail.com wrote:
> Hello,
>
> I am working on a website and I use php to connect to the database. The
> database contains some data that I plot using IDL,I use linux operating
> system and apache as a service,now I was thinking of a way by which I
> can use php shell commands(system,exec,shell_exec) to execute a .pro
> file.If any of you can help me out I would highly appreciate it.
> Thank You
>
> Pranav D Kesarkar
>

Hi Pranav,

I think you might want something called a batch file. This is a file
containing a series of commands rather than a typical idl program which
starts with PRO or FUNCTION. You can call this from the shell with the
following:

idl batch.pro

The batch file can compile and run normal IDL programs... suitable
contents for batch.pro could be

.r myprog.pro
myprog

and make myprog.pro a standard idl program (or function)

cheers,

Ben

--
Ben Panter, Edinburgh, UK.
Email false, http://www.benpanter.co.uk
or you could try ben at ^^^^^^^^^^^^^^^
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cutting/Exclude ROI's based on overlapping
Next Topic: Write image to CDF file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:55:27 PDT 2025

Total time taken to generate the page: 1.19808 seconds