Re: PHP & LiveCode Server
Surely it would be more secure, in that there are no .php files lying around on the server? Ian On 22 Nov 2011, at 16:15, Andrew Kluthe wrote: > Very true, but unfortunately this is similar to what I am doing now which is > making a script file that loads the library and calls the function I need > with parameters being passed via post. This also means I have about 15 > different .php scripts that take post information floating on my server. I > consider this a weak point in my security because they only authenticate > through a key and checking to make sure the remote_addr is the same as odins > (but this can be spoofed). > > What I am hoping can be done is call functions inside a php library, > straight from livecode or livecode server. > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/PHP-LiveCode-Server-tp4094866p4096296.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: PHP & LiveCode Server
Very true, but unfortunately this is similar to what I am doing now which is making a script file that loads the library and calls the function I need with parameters being passed via post. This also means I have about 15 different .php scripts that take post information floating on my server. I consider this a weak point in my security because they only authenticate through a key and checking to make sure the remote_addr is the same as odins (but this can be spoofed). What I am hoping can be done is call functions inside a php library, straight from livecode or livecode server. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PHP-LiveCode-Server-tp4094866p4096296.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: PHP & LiveCode Server
Andrew, You can execute PHP from the command line. Mac OS X/Linux: php [options] [ -f ] file [[--] args...] php [options] -r code [[--] args...] php [options] [-B code] -R code [-E code] [[--] args...] php [options] [-B code] -F file [-E code] [[--] args...] php [options] -- [ args...] php [options] -a Windows: C:\PHP5\php.exe -f "C:\PHP Scripts\script.php" -- -arg1 -arg2 -arg3 This means you can use the shell function to execute PHP scripts. There may be other ways. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 nov 2011, at 09:29, Andrew Kluthe wrote: > On the desktop, I can execute python and other scripting languages. But how > might one go about making calls to PHP functions in LiveCode Server? > > I have all of these wonderfully useful PHP libraries for different web > services. While I have been making a habit of trying to recreate them in > livecode and setting them up so that they can be called directly from post > submissions, I am curious with making calls to these libraries from > livecode like we would for python or any other active scripting language. > > Does livecode server has these kinds of capabilities? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
PHP & LiveCode Server
On the desktop, I can execute python and other scripting languages. But how might one go about making calls to PHP functions in LiveCode Server? I have all of these wonderfully useful PHP libraries for different web services. While I have been making a habit of trying to recreate them in livecode and setting them up so that they can be called directly from post submissions, I am curious with making calls to these libraries from livecode like we would for python or any other active scripting language. Does livecode server has these kinds of capabilities? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode