kostenloser Webspace werbefrei: lima-city


PHP-Fusion und lima-php

lima-cityForumProgrammiersprachenPHP, MySQL & .htaccess

  1. Autor dieses Themas

    czibere

    Kostenloser Webspace von czibere

    czibere hat kostenlosen Webspace.

    wegen das hier habe ich PHP-Fusion installiert zwecks testen. nach nur 5 minuten habe af das hier stoßen müsssen
    <?php
    /*-------------------------------------------------------+
    | PHP-Fusion Content Management System
    | Copyright (C) 2002 - 2011 Nick Jones
    | http://www.php-fusion.co.uk/
    +--------------------------------------------------------+
    | Filename: viewpage.php
    | Author: Nick Jones (Digitanium)
    +--------------------------------------------------------+
    | This program is released as free software under the
    | Affero GPL license. You can redistribute it and/or
    | modify it under the terms of this license which you
    | can read by viewing the included agpl.txt or online
    | at www.gnu.org/licenses/agpl.html. Removal of this
    | copyright header is strictly prohibited without
    | written permission from the original author(s).
    +--------------------------------------------------------*/
    require_once "maincore.php";
    require_once THEMES."templates/header.php";
    require_once INCLUDES."comments_include.php";
    require_once INCLUDES."ratings_include.php";
    include LOCALE.LOCALESET."custom_pages.php";
    
    if (!isset($_GET['page_id']) || !isnum($_GET['page_id'])) { redirect("index.php"); }
    if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }
    
    $cp_result = dbquery("SELECT * FROM ".DB_CUSTOM_PAGES." WHERE page_id='".$_GET['page_id']."'");
    if (dbrows($cp_result)) {
    	$cp_data = dbarray($cp_result);
    	add_to_title($locale['global_200'].$cp_data['page_title']);
    	echo "<!--custompages-pre-content-->\n";
    	opentable($cp_data['page_title']);
    	if (checkgroup($cp_data['page_access'])) {
    		ob_start();
    		eval("?>".stripslashes($cp_data['page_content'])."<?php ");
    siehe zeile 35.

    daher an alle PHP-Fusion betreiber bei lima: installiert was gscheiteres (zumal viewpage.php ein nicht ganz unwichtiger teil des programmes ist ;)

    sollte jemand es nicht deuten können, hier die (momentane) komplette liste der gesperrten funktionen bei lima:
    apache_note, apache_reset_timeout, apache_setenv, chgrp, chown, disk_free_space, disk_total_space, diskfreespace, dl, error_log, escapeshellarg, escapeshellcmd, eval, exec, get_current_user, getmygid, getmypid, getmyuid, getopt, getrusage, ignore_user_abort, ini_alter, ini_get_all, ini_restore, ini_set, lchgrp, lchown, leak, link, linkinfo, memory_get_peak_usage, memory_limit, openlog, passthru, pclose, pcntl_exec, pcntl_fork, pcntl_getpriority, pcntl_wait, pfsockopen, popen, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, putenv, readlink, session_save_path, set_time_limit, shell_exec, socket_bind, socket_connect, socket_create, socket_create_listen, socket_create_pair, socket_listen, stream_socket_accept, stream_socket_client, stream_socket_enable_crypto, stream_socket_get_name, stream_socket_pair, stream_socket_recvfrom, stream_socket_sendto, stream_socket_server, stream_socket_shutdown, symlink, sys_getloadavg, syslog, system
  2. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

Dir gefällt dieses Thema?

Über lima-city

Login zum Webhosting ohne Werbung!