| ★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/000091.html | Nouvelle recherche | Portail wanayoo |
|
|
DevShed Discussion Forums
![]() PHP
![]() PassThru() and the schemeinterpreter
|
| next newest topic | next oldest topic |
| Author | Topic: PassThru() and the schemeinterpreter |
|
Magda Junior Member |
Hi there, I have a little problem. I'm trying to call a schemeinterpreter (chez scheme 'petite') with PassThru-function in PHP3. $cmd="/var/local/bin/petite"; Output: Petite Chez Scheme Version 6.0a and then: $code="(define ... an so on)"; as output comes only: 0 Maybe anyone of you knows what should I do? Magda |
|
Jake @ Icongarden Junior Member |
As far as I know, passthru() only accepts filepaths and URLs and all it does is suck the input in one end and spit it out the other... Your example is a little vague- perhaps you could post something a little more substantial and I could tell you what to use in place of passthru... if you're trying to execute PHP code from a string, try eval(). Jake ------------------ |
All times are MST (US) | next newest topic | next oldest topic |
![]() |
|
Copyright © 1997-2000 ngenuity. All rights reserved.
Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.