Deep ze simple and practical Editor

Source: Internet
Author: User

Demo address:
Http://asp2004.net/temp/goods/index.asp
:
ASP (goods folder phpedit folder) http://asp2004.net/temp/goods/goods.rar
PHP: http://asp2004.net/temp/goods/edit_php.rar

Readme:
Deep ze simple and practical Editor
Brief Introduction:
---------
This editor is practical and has a simple interface! Basically suitable for the requirements of various sites (especially the article System)

Instructions for use
--------

1. Put the phpedit folder to the same level directory as the file to be referenced
A reference method in ASP:
-- Add: <! -- # Include file = "phpedit/edit.html" -->
B's reference method in PHP
-- Add: <? Include ("phpedit/edit.html")?>

2. Form format:
<Form name = "form1" method = "Post" Action = "" onsubmit = 'Return subck (this) 'Return>

3. This hidden field is used to pass the input code.
PHP: <input name = sz_content type = hidden maxlength = "30000" value = "<? = $ Content?> ">
ASP: <input name = sz_content type = hidden maxlength = "30000" value = "<% = content %>">


PHP: Optional values:
$ Variable = $ _ post [sz_content];

ASP value method:
Variable = request. Form ("sz_content ")

4. Add onload = sz_edit () to the <body> label during edit ()
That is, <body onload = sz_edit ()>

5. asp: the upload. asp file is not attached. You can find a safe and reliable file.
PHP: upload files with upload. php. If you feel this file is not safe, you can change it !!

Introduction
--------
This editor is originally created by shenzhe and can be freely transmitted. Piracy is not investigated, but it is hoped that the copyright of the message will be protected.
I will continue to improve and hope you can complete it !! Remember to send me a copy !!
Author QQ: 31477177 E-mail: shenzhe163@sohu.com homepage = http://asp2004.net, http://www.pp365.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.