Jump to content

Recommended Posts

в созданной статье хочу подключить вывод информации из файла test.php .  Делаю это в редакторе, командой <?php include "http://example.com/test.php"; ?>   Но почему то интепритатором не обрабатывается. Как решить эту задачу?

Link to post
Share on other sites

Потому что то, что сформировано в редакторе, выводится на страницу на HTML, интерпретатором не обрабатывается и не должно обрабатываться. Для Ваших целей надо придумывать какие-то свои хитрости. Например, что-то подобное этому:

http://forum.simplacms.ru/topic/5330-2-%D0%B2%D1%8B%D0%B2%D0%BE%D0%B4-%D1%82%D0%BE%D0%B2%D0%B0%D1%80%D0%BE%D0%B2-%D0%B2-%D0%BF%D0%BE%D1%81%D1%82%D0%B0%D1%85-%D0%B1%D0%BB%D0%BE%D0%B3%D0%B0/

Можно также  делать вставки через JS...

спасибо. видимо только js спасет.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...