View Single Post
ישן 06-05-06, 20:57   # 17
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

הנה הקוד של עמוד הPHP:
PHP קוד:
<?php
$string 
file('text.tpl');
$string preg_replace('/<aa>/','<hr>',$string);
print_r($string);
?>
והנה קובץ הTPL:
קוד:
code1
code2
code3
code4
code5
code6
code7
code8
code9
code0
<aa>
  Reply With Quote