Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 10 of 15

Thread: content inside code php bbcodes should not be translated

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default content inside code php bbcodes should not be translated

    Guys,

    I have some problems with content inside bbcodes php and code

    same examples

    PHP Code:
    <?
    $diary_directory 
    = opendir(".");
      while(
    $filename = readdir($diary_directory))
    {
        
    $filesplit = explode(".", $filename);
        
    $check_filename = $filesplit[0];
           if(
    ereg("[0-9]{6}", $check_filename))
          {
             
    $check_filename .= ".$filesplit[1]";
             
    $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for(
    $index = 0; $index < count($valid_filename); $index++)
    {
      print(
    "$valid_filename[$index]<br>");
    }
    ?>


    Code:
    <?
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    ?>
    in native language is working perfectly but in other languages is crashing and translating this content that should not be translated.
    Last edited by magmf; 30-05-10 at 18:04.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •