| Server IP : 64.202.187.69 / Your IP : 216.73.216.17 Web Server : Apache System : Linux 69.187.202.64.host.secureserver.net 3.10.0-1160.144.1.el7.tuxcare.els6.x86_64 #1 SMP Fri May 29 16:22:24 UTC 2026 x86_64 User : transmarket ( 1001) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/transmarket/testtranslator/ |
Upload File : |
<?php
$a = 1;
for($i=0;$i<24;$i++) {
echo "text".$a.". ";
$a++;
}
exit;
/*$paragraph = '<p>abc sdfs. def ghi; this is an.email@addre.ss! wordpress 1.2.5. asdasdasd? abc xyz</p>
<h2>This is heading 2</h2>
<p>This is some other text.</p>
<p>simply dummy. Remaining essentially; typesetting an.email@addre.ss! PageMaker 7.2.5. typesetting? accusantium doloremque laudantium</p>
<ul>
<li> Lorem Ipsum is simply dummy text of the printing and typesetting industry.</li>
<li> Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s</li>
<li> Aldus PageMaker including versions of Lorem Ipsum.
<ul>
<li> Letraset sheets containing Lorem Ipsum passages</li>
<li> It has survived not only five centuries</li>
<li> But also the leap into electronic typesetting </li>
<li> Remaining essentially unchanged.</li>
<ul>
<li> Lorem Ipsum passages</li>
<li> five centuries</li>
<li> electronic typesetting </li>
<li> hiral makwana.</li>
</ul>
<li> Fry me a Beaver.</li>
<li> Voluptatem non-characteristic words.</li>
</ul>
</li>
<li> vel illum qui dolorem eum</li>
<li> Fry me many Beavers...</li>
<li>hiral</li>
</ul>';*/
$paragraph = 'We value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.
This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by us. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.';
$paragraph1 = $paragraph;
$str = '';
//$sentenceArray = preg_split('/(?<=[.?!])\s+/', $paragraph, -1, PREG_SPLIT_NO_EMPTY);
/*$sentenceArray = preg_split('/(\s*<(\/?p|br|li|ul|ol)\s*\/?>\s*)+/u', $paragraph);*/
$sentenceArray = preg_split('/(\s*<(\/?p|br|li|ul|ol|h1|h2|h3|h4|h5|h6|div)\s*\/?>|<div([^>])*>|<p([^>])*>|<li([^>])*>*>\s*)+/u', $paragraph);
$str .= $paragraph;
$new_str = '';
$arr_abc = array();
//print_r($sentenceArray);
if(!empty($sentenceArray)) {
//$category_id = $_SESSION['tm_language_id'];
$count = 1;
for ($i=0;$i<count($sentenceArray);$i++) {
//foreach ($sentenceArray as $key=>$val) {
if($sentenceArray[$i] != '') {
//$original_message = strip_tags(trim($val));
$original_message = $sentenceArray[$i];
//if($original_message != '')
$sentenceArray1 = preg_split('/(?<=[.?!])\s+/', $original_message, -1, PREG_SPLIT_NO_EMPTY);
if(!empty($sentenceArray1)) {
for ($j=0;$j<count($sentenceArray1);$j++) {
//foreach ($sentenceArray1 as $key1=>$val1) {
if(strip_tags(trim($sentenceArray1[$j])) != '') {
//$original_message1 = strip_tags(trim($val1));
$original_message1 = strip_tags(trim($sentenceArray1[$j]));
$str .= "<br>".$count.". ".$original_message1;
$paragraph1 = str_replace(trim($original_message1), '$'.$count, $paragraph1);
$count++;
}
}
}
}
}
}
$str .= $paragraph1;
echo $str;
?>