When I run mysql in terminal
I can do something like \! python ~/run.pyto run the file.
\! python ~/run.py
However, when I copy this to php and execute mysql_query, it does not work.
You cannot run any mysql commands \ prefix in PHP mysql_query.
mysql_query
Only valid SQL commands can be used.
You cannot do this.
\! MySQL , MySQL. , MySQL, , (, bash). , SQL.
\!
Source: https://habr.com/ru/post/1763357/More articles:Does ASP.NET always require BeginRequest and EndRequest in the same thread? - .netЯвляется ли архитектура SPARC по-прежнему актуальной как цель компилятора JIT для высокопроизводительных серверов? - sparcВозврат ассоциированных членов через метод вызова Ria DomainService - silverlight-3.0Compare two atoms in Prolog - prologSuper fast server for php script - phpCircular Links - oopHow to ignore pyc files in Netbeans project browser (regex question) - pythonWhy is my UITableViewController setEditing: an animated method not being called? - cocoa-touchTexture format for wire mesh machines in OpenGL ES 2.0 - optimizationAre the icons inside the font good for the site? - cssAll Articles