it depends on how you interact with the "php file", as you said, you're using a revlet, which behaves like a client app on the persons computer who is interacting with it in his browser. Therefore you need to query the php via an url from your server.

put url "http://www.YvesServer.com/file.php";

if you're doing the same from an on-rev or cgi script, then it'd be better to use shell(), as you're on the same computer (your webhost server). however, on some hosts that might be disabled. for cgi's you can also use liburl by loading it from a stack, but that could take quite a bit longer then shell.

On 16 Aug 2009, at 12:36, Yves COPPE wrote:

I have a php function file which without any argument returns a value calculated by the php script

How can I get the result of this php script from a rev script ?

--

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev";

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to