Welcome Guest, Not a member yet? Register   Sign In
Can a text editor be integrated into the CodeIgniter Libraries?
#11

(12-09-2019, 02:22 AM)qury Wrote: Hi,
Can you please explain what your software does?
To me it sounds like you have text files that are updated independently to your php program and you want to parse them and display the text in them in a specific order. Is that correct?

If so i would probably be a bit lazy and set up elasticsearch and logstash, where logstash would monitor and parse your files and load them into elastic search. Then you can build your front-end in CI to display and/or search the data from elasticsearch in whatever way you like.

No, your first paragraph is not correct. Everything is done in PHP & HTML.

I have created a simple textarea box from which users can send information. That works good and if the user inserts the paragraph symbol where there is a carriage return it works the way I want but it is not good practice to allow users to insert coding symbols, in fact I want to forbid that practice.

I need some PHP coding that will pick up the carriage return, and replace it with the paragraph symbol. Obviously the snippet of coding I put in this post doesn't pick up the carriage return. The text editor I first mentioned in this post will do that but PHP does not provide for the integration of other programs, which will probably include elasticsearch and logstash.
Reply


Messages In This Thread
RE: Can a text editor be integrated into the CodeIgniter Libraries? - by christaliise - 12-09-2019, 03:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB