Passing code to python from PHP -


i have custom codechecker in python, there bigger project running in php, stores users code in mysql database.

i new python, i'm not sure how can pass code php python.

do have store file filesystem pass python? (in case many files might created, , cleanup after execution has taken care)

to expand on brad's answer, there's several options, each pros & cons...

  • pipes (ie: stdin/stdout): proc_open()
  • shared memory: shmop_open()
  • af_unix family sockets: socket_bind()

you'll want use first option read on others before making commitment.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -

delphi - How to convert bitmaps to video? -