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 #52330 is a reply to message #52254] Fri, 26 January 2007 01:44 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
pranavkesarkar@gmail.com wrote:

> 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.
>

In PHP the statement we use to execute an IDL script (the name of which is held
in $idl_input) is:

system("idl < ".$idl_input." 2>&1",$return);

or

exec("idl < ".$idl_input." 2>&1",$output,$return);

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
[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: Fri Oct 10 10:43:48 PDT 2025

Total time taken to generate the page: 0.16049 seconds