Welcome Guest, Not a member yet? Register   Sign In
How to integrate Python with PHP?
#3

(01-18-2020, 03:43 PM)jreklund Wrote: What do you want to do with python what you cant do in PHP?
Codeigniter are made with PHP, so anything you can do in PHP you can do in Codeigniter.

The only way to execute something outside PHP are with these function.
https://www.php.net/manual/en/function.e...ellcmd.php
https://www.php.net/manual/en/function.shell-exec.php
https://www.php.net/manual/en/function.exec.php

Thanks for those links I need to study them.

When using fwrite & particularly fseek in PHP it overwrites data that is ahead so the only mode that is usable is "a" which starts at the end of file and appends, which creates recent at the bottom, whereas I prefer recent at the top.

And now I find PHP does not facilitate backspace \b in fwrite.

I'm open to ideas on how I can stick with just one language.
Reply


Messages In This Thread
RE: How to integrate Python with PHP? - by christaliise - 01-18-2020, 06:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB