在PHP 5.3.3中输出终端CentOS与输出SHELL_EXEC

时间:2016-10-25 22:26:03

标签: php linux centos format output

当我在VPS终端(Centos 6.8)中运行时,命令CREATE OR REPLACE FUNCTION provjera_teme() RETURNS TRIGGER AS $$ DECLARE postoji BOOLEAN; BEGIN postoji := EXISTS( SELECT poruka FROM poruka WHERE posiljatelj = NEW.posiljatelj AND primatelj = NEW.primatelj AND (naslov = NEW.naslov OR naslov LIKE 'Re: ' || NEW.naslov) ); IF postoji THEN UPDATE poruka SET naslov = 'Re: ' || naslov WHERE posiljatelj = NEW.posiljatelj AND primatelj = NEW.primatelj AND naslov = NEW.naslov AND naslov NOT LIKE 'Re%'; RETURN NULL; END IF; RETURN NEW; END; $$ LANGUAGE plpgsql; CREATE TRIGGER tema_provjera BEFORE INSERT ON poruka FOR EACH ROW EXECUTE PROCEDURE provjera_teme(); 保存的文件输出为GEØRGE.mp3

但是当我在PHP(v5.3.3)youtube-dl some_link中使用时,保存的文件的输出只是GERGE.mp3 我该如何解决?

0 个答案:

没有答案