Running a Python script from PHP

Tested on Ubuntu Server 10.04. I hope it helps you also on Arch Linux. In PHP use shell_exec function: Execute command via shell and return the complete output as a string. It returns the output from the executed command or NULL if an error occurred or the command produces no output. Into Python file test.py, verify this … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)