Am 05.07.2013 um 16:49 schrieb Christian Schmitz 
<[email protected]>:

> 
> Am 05.07.2013 um 15:44 schrieb Maximilian Tyrtania <[email protected]>:
> 
>> Hi,
>> 
>> the PHPMBS stuff allows us to execute code (via myPHPMBY.call(somecode)), 
>> but how would I reference a script to execute?
> 
> the plugin has no file parser. It takes only a string with pure php code.
> 
>> I can call my PHP script from the Mac OS terminal, but I need to call it 
>> from PHPMBS, because I need the packaged dylib (in the app bundle) to 
>> execute it.
> 
> 
> It may be better to go with shell. Depends on what you want to do.

Ah, thanks. Well, I can't be sure if PHP is installed on my users machine, can 
I? The problem I'm trying to solve is this: I want to use the phpmailer class 
to send emails (the realbasic email stuff doesn't handle multipart emails 
correctly, unfortunately). So I have a phpmailer.php file, that I need to hand 
some parameters and stuff. My idea was to package the php file and the dylib 
with my app and have the dylib call the php script.

Maximilian Tyrtania
http://www.contactking.de

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to