Oderuz CMS - PHP & MySQLi

Status
Not open for further replies.

anonym0us

New Member
Jul 11, 2012
1
1
Not bad. I'm glad you found the way to learn PHP by yourself, instead of asking other people how to solve problems. ;)
Have much fun in developing. :)

~ Peek
 

necm1

Member
Jan 27, 2014
111
16
The registry works now, I'm still looking some people can help me any.

If there is interest, best via. Skype Request: derpeteresel <= Skype

Sincerely,
JazzerDEV
 

necm1

Member
Jan 27, 2014
111
16
pencms? thought it was oderuz
What pencms? :D

Update:
Code:
//CRSF Protection, thanks to Steve Winfield - Twitter: http://twitter.com/WinfieldSteve
        session_start();
    ob_start();
if (!isset($_SESSION['SEC_TOKEN'])) $_SESSION['SEC_TOKEN'] = md5(uniqid().uniqid().mt_rand());
if (count($_POST) > 0 && (!isset($_POST['token']) || $_POST['token'] != $_SESSION['SEC_TOKEN'])) exit;
register_shutdown_function(function() {
    $data = ob_get_clean();
    preg_match_all('\'<form .*?>(.*?)</form>\'si', $data, $match, PREG_OFFSET_CAPTURE);
    $toAdd      = 0;
    $hiddenToken = '<input type="hidden" name="token" value="'.$_SESSION['SEC_TOKEN'].'" />';
    if($match) {
        foreach ($match[0] as $entry) {
            $data = substr($data, 0, ($offset = (strpos($entry[0], '</form>') + $entry[1] + $toAdd))) . $hiddenToken . substr($data, $offset);
            $toAdd += strlen($hiddenToken);
        }
    }

    echo $data;
});
 

necm1

Member
Jan 27, 2014
111
16
Update:
News:
(The one with the archives is still being processed, I just know myself not where the error is. :p)
Staff:
 

necm1

Member
Jan 27, 2014
111
16
So, I have a part made ready or not all. The Extra Page Page had was not ready yet, but in course of time, I will offer it for download.
Unfortunately, I have not even started with the housekeeping, which is not likely to change in time, because now I have to take care of my Vocational things.

Download it!:
 

ptimmaq2

We all make mistakes
Aug 7, 2013
283
33
Found a problem, my users have noticed that with this skin the site loads forever.
 
Status
Not open for further replies.

Users who are viewing this thread

Top