quoth the David Vallner: > darren kirby wrote: > > quoth the James Britt: > >> terrywu1526 / gmail.com wrote: > >>> Can I run some PHP code in Ruby, and access the variables? > >> > >> No. > > > > Not strictly no: > > > > irb(main):001:0> foo = `php foo.php` > > => "some value\n" > > That's not quite running PHP code in ruby, is it? > > David Vallner in/from potayto/potahto Don't get me wrong, I am certainly not endorsing that sort of thing but it is a way to get a php variable's value into Ruby... -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972