Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version

Integrating FCKeditor in ASP.NET

, 20 Jul 2008 CPOL
Integrating FCKeditor in ASP.NET
FCKEditorMvcDemo.zip
FCKEditorMvcDemo
FCKEditorMvcDemo.suo
FCKEditorMvcDemo
App_Data
bin
FCKEditorMvcDemo.dll
FCKEditorMvcDemo.pdb
System.Web.Abstractions.dll
System.Web.Mvc.dll
System.Web.Routing.dll
Content
Javascript
fckeditor
_samples
_plugins
findreplace
find.gif
lang
replace.gif
samples
adobeair
icons
128.png
16.png
32.png
48.png
sample01_cert.pfx
afp
fck.afpa
fck.afpa.code
sample01.afp
sample02.afp
sample03.afp
sample04.afp
sampleposteddata.afp
asp
cfm
sample01.cfm
sample01_mx.cfm
sample02.cfm
sample02_mx.cfm
sample03.cfm
sample03_mx.cfm
sample04.cfm
sample04_mx.cfm
sampleposteddata.cfm
html
lasso
sample01.lasso
sample02.lasso
sample03.lasso
sample04.lasso
sampleposteddata.lasso
perl
sample01.cgi
sample02.cgi
sample03.cgi
sample04.cgi
sampleposteddata.cgi
php
py
editor
_source
classes
commandclasses
internals
css
behaviors
disablehandles.htc
showtableborders.htc
images
block_address.png
block_blockquote.png
block_div.png
block_h1.png
block_h2.png
block_h3.png
block_h4.png
block_h5.png
block_h6.png
block_p.png
block_pre.png
fck_anchor.gif
fck_flashlogo.gif
fck_hiddenfield.gif
fck_pagebreak.gif
fck_plugin.gif
dialog
common
images
locked.gif
reset.gif
unlocked.gif
fck_about
logo_fckeditor.gif
logo_fredck.gif
sponsors
spellchecker_net.gif
fck_docprops
fck_flash
fck_image
fck_link
fck_select
fck_spellerpages
spellerpages
server-scripts
spellchecker.cfm
spellchecker.pl
fck_template
images
template1.gif
template2.gif
template3.gif
dtd
filemanager
browser
default
images
ButtonArrow.gif
Folder.gif
Folder32.gif
FolderOpened.gif
FolderOpened32.gif
FolderUp.gif
icons
32
ai.gif
avi.gif
bmp.gif
cs.gif
default.icon.gif
dll.gif
doc.gif
exe.gif
fla.gif
gif.gif
htm.gif
html.gif
jpg.gif
js.gif
mdb.gif
mp3.gif
pdf.gif
png.gif
ppt.gif
rdp.gif
swf.gif
swt.gif
txt.gif
vsd.gif
xls.gif
xml.gif
zip.gif
ai.gif
avi.gif
bmp.gif
cs.gif
default.icon.gif
dll.gif
doc.gif
exe.gif
fla.gif
gif.gif
htm.gif
html.gif
jpg.gif
js.gif
mdb.gif
mp3.gif
pdf.gif
png.gif
ppt.gif
rdp.gif
swf.gif
swt.gif
txt.gif
vsd.gif
xls.gif
xml.gif
zip.gif
spacer.gif
js
connectors
asp
aspx
cfm
cf_basexml.cfm
cf_commands.cfm
cf_connector.cfm
cf_io.cfm
cf_upload.cfm
cf_util.cfm
cf5_connector.cfm
cf5_upload.cfm
config.cfm
connector.cfm
image.cfc
ImageObject.cfc
upload.cfm
lasso
config.lasso
connector.lasso
upload.lasso
perl
basexml.pl
commands.pl
connector.cgi
io.pl
upload.cgi
upload_fck.pl
util.pl
php
py
images
anchor.gif
arrow_ltr.gif
arrow_rtl.gif
smiley
msn
angel_smile.gif
angry_smile.gif
broken_heart.gif
cake.gif
confused_smile.gif
cry_smile.gif
devil_smile.gif
embaressed_smile.gif
envelope.gif
heart.gif
kiss.gif
lightbulb.gif
omg_smile.gif
regular_smile.gif
sad_smile.gif
shades_smile.gif
teeth_smile.gif
thumbs_down.gif
thumbs_up.gif
tounge_smile.gif
whatchutalkingabout_smile.gif
wink_smile.gif
spacer.gif
js
lang
plugins
autogrow
bbcode
_sample
dragresizetable
placeholder
lang
placeholder.gif
simplecommands
tablecommands
skins
default
fck_strip.gif
images
dialog.sides.gif
dialog.sides.png
dialog.sides.rtl.png
sprites.gif
sprites.png
toolbar.arrowright.gif
toolbar.buttonarrow.gif
toolbar.collapse.gif
toolbar.end.gif
toolbar.expand.gif
toolbar.separator.gif
toolbar.start.gif
office2003
fck_strip.gif
images
dialog.sides.gif
dialog.sides.png
dialog.sides.rtl.png
sprites.gif
sprites.png
toolbar.arrowright.gif
toolbar.bg.gif
toolbar.buttonarrow.gif
toolbar.collapse.gif
toolbar.end.gif
toolbar.expand.gif
toolbar.separator.gif
toolbar.start.gif
silver
fck_strip.gif
images
dialog.sides.gif
dialog.sides.png
dialog.sides.rtl.png
sprites.gif
sprites.png
toolbar.arrowright.gif
toolbar.buttonarrow.gif
toolbar.buttonbg.gif
toolbar.collapse.gif
toolbar.end.gif
toolbar.expand.gif
toolbar.separator.gif
toolbar.start.gif
fckeditor.afp
fckeditor.cfc
fckeditor.cfm
fckeditor.lasso
fckeditor.pl
fckutils.cfm
Controllers
FCKEditorMvcDemo.csproj.user
Global.asax
Models
Properties
Views
Home
Shared
<?php
/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * This is the "File Uploader" for PHP.
 */

require('./config.php') ;
require('./util.php') ;
require('./io.php') ;
require('./commands.php') ;
require('./phpcompat.php') ;

function SendError( $number, $text )
{
	SendUploadResults( $number, '', '', $text ) ;
}


// Check if this uploader has been enabled.
if ( !$Config['Enabled'] )
	SendUploadResults( '1', '', '', 'This file uploader is disabled. Please check the "editor/filemanager/connectors/php/config.php" file' ) ;

$sCommand = 'QuickUpload' ;

// The file type (from the QueryString, by default 'File').
$sType = isset( $_GET['Type'] ) ? $_GET['Type'] : 'File' ;

$sCurrentFolder	= GetCurrentFolder() ;

// Is enabled the upload?
if ( ! IsAllowedCommand( $sCommand ) )
	SendUploadResults( '1', '', '', 'The ""' . $sCommand . '"" command isn\'t allowed' ) ;

// Check if it is an allowed type.
if ( !IsAllowedType( $sType ) )
    SendUploadResults( 1, '', '', 'Invalid type specified' ) ;


FileUpload( $sType, $sCurrentFolder, $sCommand )

?>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jahedur Rahman Chowdhury
Software Developer (Senior)
Bangladesh Bangladesh
Software Engineer, Bangladesh.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141220.1 | Last Updated 20 Jul 2008
Article Copyright 2008 by Jahedur Rahman Chowdhury
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid