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 #52254 is a reply to message #52252] Thu, 25 January 2007 08:51 Go to previous messageGo to previous message
pranavkesarkar@gmail. is currently offline  pranavkesarkar@gmail.
Messages: 2
Registered: January 2007
Junior Member
I can compile and run the file on the command line but I cannot figure
out a way to run the program using php. I am working on php and have
been trying to use the php shell commands to execute the .pro file but
it doesnt seem to work.
Thanks for the help.

On Jan 23, 5:38 am, Ben Panter <m...@privacy.net> wrote:
> pranavkesar...@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 KesarkarHi 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: Sun Oct 12 11:55:09 PDT 2025

Total time taken to generate the page: 1.03969 seconds