![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 22.05.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam!
Mam pewien problem ze skryptami php i wirtualnym serwerem Krasnal. Zainstalowałem "Krasnal Serv 2.7" i wszystko działa ok, tzn. wszystko się łączy jak należy, przykładowe strony też działają poprawnie. Problem zaczyna się jak wrzucam do niego swoją stronkę (swoje skrypty php). Gdy próbuje je włączyć, zamiast strony w przeglądarce (treści) widzę kod źródłowy... Wygląda na to, że Krasnal nie "rozumie" tego kodu. Zwykłe pliki *.htm odczytywane są poprawnie. Kod jest napisany poprawnie na 100%. Co jest przyczyną tych problemów i jak się ich pozbyć. Pozdrawiam serdecznie Piotr Ten post edytował piotr.kozuch@gmail.com 22.05.2008, 22:49:38 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 22.05.2008 Ostrzeżenie: (0%) ![]() ![]() |
Tak, są dwa takie pliki z rozszerzeniem .txt
Oto treść: # # FCKeditor - The text editor for internet # Copyright © 2003-2005 Frederico Caldeira Knabben # # Licensed under the terms of the GNU Lesser General Public License: # http://www.opensource.org/licenses/lgpl-license.php # # For further information visit: # http://www.fckeditor.net/ # # "Support Open Source software. What about a donation today?" # # ----------------------------------------------------------------------------- # # On some specific Linux installations you could face problems with Firefox. # It could give you errors when loading the editor saying that some illegal # characters were found (three strange chars in the beginning of the file). # This could happen if you map the .js or .css files to PHP, for example. # # Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. # All FCKeditor files are encoded with Unicode. # # Just rename this file to ".htaccess" and live it in the editor directory. # There are no security issues on doing it. It just set the ".js" and ".css" # files to their correct type. # AddType application/x-javascript .js AddType text/css .css I lokalizacje: www\admin\common\js\FCKeditor lib\propeller_1.0-RC2.8\www\admin\common\js\FCKeditor |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 15:01 |