PhpWebEd: Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
 
Zeile 1: Zeile 1:
 
 
== Überblick ==
 
== Überblick ==
 
cms tool ohne Datenbank von http://www.m-tecs.net/
 
cms tool ohne Datenbank von http://www.m-tecs.net/
Zeile 32: Zeile 31:
  
  
== Description ==
+
=== Description ===
  
  
Zeile 38: Zeile 37:
  
  
== Requirements ==
+
=== Requirements ===
  
  
Zeile 45: Zeile 44:
  
  
== Installation ==
+
=== Installation ===
 
   
 
   
  
Zeile 73: Zeile 72:
  
  
== Using phpWebEd ==
+
=== Using phpWebEd ===
  
  
Zeile 79: Zeile 78:
  
  
== History ==
+
=== History ===
  
  
Zeile 131: Zeile 130:
  
 
- First official release
 
- First official release
 +
== Probleme ==
 +
=== register globals = off ===
 +
 +
entweder eine .htaccess Datei mit dem Inhalt:
 +
php_flag register_globals 1
 +
 +
oder besser aber aufwendiger den Code anpassen und auf die Variablen mit
 +
$foo = $_REQUEST["foo"];
 +
$foo = $_POST["foo"];
 +
zugreifen

Version vom 12. September 2006, 13:57 Uhr

Überblick

cms tool ohne Datenbank von http://www.m-tecs.net/

Prinzip: Im Quelltext werden Marker in der Form von

     <?
     include("<path_to_phpwebed>/config.inc.php");
     content("<unique_title_1>");
     ?>
     ...
     <? content("<unique_title_2>");?>
     ...
 

gesetzt.

An diesen Stellen erscheint nach Login ein kleines Stiftchen mit dem man den Text bearbeiten kann. Die Inhalte werden dann im Verzeichnis cms/contents als Textdateien gespeichert im Folgenden eine Kopie der Readme Datei aus phpWebEd

phpWebEd

Homepage: http://www.m-tecs.net/phpwebed Copyright © 2000-2002 Holger Mauermann

phpWebEd is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

phpWebEd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with phpWebEd; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Description

phpWebEd is an online content editing system for PHP-driven Webpages. You can edit the contents of your Webpage from everywhere in the world with just a Webbrowser and you don't need any special knowledge of HTML-Code!


Requirements

   * PHP3/4 enabled Webserver
   * Browser with Javascript and Cookie-Support to edit the pages


Installation

   * Unzip "phpwebed-xyz.zip" to your webserver.
   * Set the permissions rw-rw-rw- (666) to the files "config.inc.php", "logins.txt" and all files within "contents". The "contents" directory must have the permission rwxrwxrwx (777).
   * Go to "phpwebed/setup.php" to configure phpWebEd for your server.
   * Add the following code to every page you want to edit:
      <html>
      <head>
      ...
      <body>
      ...
      <?
      include("<path_to_phpwebed>/config.inc.php");
      content("<unique_title_1>");
      ?>
      ...
      <? content("<unique_title_2>");?>
      ...
      </body>
      </html>
     Please see also "example1.php" and "example2.php".
      
   * Rename your HTML documents with above lines in it from filename.html to filename.php so that the server renders the PHP-Code.


Using phpWebEd

With your webbrowser go to "phpwebed/index.php" on your server and login. Remember you must have cookies enabled. Now navigate through your website and you should see some small images showing a pen on the pages that you have prepared for phpWebEd. Figure the rest out yourself and have fun!


History

Version 2.1, 03. Jun 2002

- new "Tools" window with Logout, Undo and Delete functions - it's now possible to disable some functions of the WYSIWYG editor axWebEd - slovak and danish language (thanks to Jaroslav Huba and Michael Glud Andersen) - some minor bug fixes

Version 2.0, 19. Dec. 2001

- workaround for bug in Microsoft IIS with setcookie() added - Javascript code to open the editor window is now printed only if you are logged in

Version 2.0beta, 22. Nov. 2001

- phpWebEd is now released under the terms of the GNU Lesser General Public License - Setup script for easier configuration - your web pages can be stored in every directory on the server now - modified user interface - "
"-tags are now visible and no longer automatically added and removed - special chars are now converted to their HTML entities - some other improvements

Version 1.3, 01. Sep. 2001

- included a small sample page - the editor now works properly with PHP 4.0.5 or higher

Version 1.2.3, 28. Jun. 2001

- dutch language (thanks to Benny Jansen)

Version 1.2.2, 18. May 2001

- spanish language (thanks to Daniel Ambort and Jorge Otero) - Bug fix: The Edit-window didn't open if you have a <BASE TARGET="_parent"> tag on your page

Version 1.2.1, 07. Mar. 2001

- italian language (thanks to Alexander Tezzele)

Version 1.2, 10. Feb. 2001

- french language (thanks to Frederic Nouvian) - security option to allow only HTML-tags from the buttons - some minor improvements

Version 1.1, 26. Jan. 2001

- First official release

== Probleme ==

register globals = off

entweder eine .htaccess Datei mit dem Inhalt:

php_flag register_globals 1

oder besser aber aufwendiger den Code anpassen und auf die Variablen mit

$foo = $_REQUEST["foo"]; 
$foo = $_POST["foo"];

zugreifen