How to integrate Python with PHP? |
(01-19-2020, 08:31 AM)eggbert Wrote: What a horrible and crazy idea, mixing php and python. Why would you want to create a mess like that? Choose one or the other. Sometimes languages don't do things other languages do, but there are always ways around these sorts of limitations. Think out side the box, use substr(), trim(), etc for "backspace", write your own prepend function. Heck, just Google "prepend file" in php and you will find plenty of solutions. @eggbert I like constructive criticism but comments like "horrible and crazy idea" - "create a mess like that" - "think out side the box" are not constructive. You could have been more elaborate in your comments which would be constructive. Before I post these questions I spend sometimes several days Googling to find an answer as I have already Googled "prepend file" in php, with little results however I haven't finished investigating those results. Did you know Facebook uses PHP as a base and many other languages including Python? If PHP was adequate for Facebook there would be no need for that corporate to use other languages. If I get too involved with Python I may end up ditching PHP, but I've spent several years already with PHP and finding it in places inadequate. |
Messages In This Thread |
How to integrate Python with PHP? - by christaliise - 01-18-2020, 06:13 AM
RE: How to integrate Python with PHP? - by jreklund - 01-18-2020, 03:43 PM
RE: How to integrate Python with PHP? - by christaliise - 01-18-2020, 06:22 PM
RE: How to integrate Python with PHP? - by jreklund - 01-19-2020, 05:08 AM
RE: How to integrate Python with PHP? - by christaliise - 01-19-2020, 08:05 AM
RE: How to integrate Python with PHP? - by eggbert - 01-19-2020, 08:31 AM
RE: How to integrate Python with PHP? - by christaliise - 01-19-2020, 10:03 AM
RE: How to integrate Python with PHP? - by eggbert - 01-19-2020, 01:12 PM
RE: How to integrate Python with PHP? - by includebeer - 01-20-2020, 04:23 AM
RE: How to integrate Python with PHP? - by jreklund - 01-19-2020, 11:49 AM
|