The sample files (PHP) work, but my web don't. I copied the sample code and changed the $sBasePath but it don't work and I don't know why. I modified the sample to print its $sBasePath and pasted it in the code but nothing happens. I am sure it is a silly thing but I am unable to see it and have spent some time on it,
any hint?
Sample is at: http://www.escoltesiguies.cat/mailing/f ... mple01.php
and my page http://www.escoltesiguies.cat/mailing/add.php
My code is:
<?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" ) ) ; $sBasePath = '/mailing/fckeditor/'; echo "<p>".$sBasePath."</p>"; $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; $oFCKeditor->Create() ; ?>
thanks
Re: sample works, my web no
can it be a problem with the .htaccess?
Re: sample works, my web no