View Single Post
ישן 26-05-06, 17:53   # 1
adiga000
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 481

adiga000 לא מחובר  

שאלה לגבי PHP | מתקדם אני חושב..

// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// $oFCKeditor->BasePath = '/FCKeditor/' ; // '/FCKeditor/' is the default value.
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ;
$oFCKeditor->Create() ;

מישהו יכול להגיד לי איפה לומדים את זה??
זה בכלל לא נראה כמו PHP רגיל...
  Reply With Quote