Erstellen eines Softwares
€8-30 EUR
货到付款
I need someone to write me a "parser" for my Router Login Messages in php. Basically just a Textbox where I can paste some Ascii-Graphs or Text in. The "Script" should have the abillity to replace certain pattern and also be able to "translate" every "new line" into Code and translate the Text 1:1 so the Router Displays the Exact Text with every Space, new-Line etc. like put in the Textbox.
Below you find, what Pattern to use (replace)
\n—New line
\t—Horizontal tab
\'—Single quotation mark
\"—Double quotation mark
\\—Backslash
If I put the following "Text" into it:
UNAUTHORIZED USE OF THIS SYSTEM
IS STRICTLY PROHIBITED!
Please contact 'company-noc[at][url removed, login to view]' to gain
access to this equipment if you need authorization.
it should translate it to this:
"\n\n\n\tUNAUTHORIZED USE OF THIS SYSTEM\n\tIS STRICTLY PROHIBITED!\n\n\tPlease contact \'company-noc[at][url removed, login to view]\' to gain\naccess to this equipment if you need authorization.\n\n\n"
I guess this is very Simple but i don't know php.
I want a simple "white Page" with a Textbox and a "Translate" Button and the Result should be displayed in another Textbox.
项目ID: #10462211