Jump to content

Ayaka

Inactive Member
  • Posts

    288
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Posts posted by Ayaka

  1. Sent some changes. You can take a look :)

    Ira, PHPStorm is the best php IDE by far :D

    well.. i just tried notepad++ and phpstorm. and phpstorm obviously is the better one :D

     

    Sent some changes. You can take a look :)

    Ira, PHPStorm is the best php IDE by far :D

    well.. i just tried notepad++ and phpstorm. and phpstorm obviously is the better one :D

    Advice: Use Sublime Text3 as your main text editor for php.

     

    Also, if you have problems with the site on IE take a look on html5shiv. 

    This is the hidden content, please

     

     

    Kind regards!

    cant really get your point. Why using an editor if you have one of the best (maybe the best) IDE for php? OOP with phpstorm is awesome as hell!

     

    • Love 1
  2. Nobody can help you here because you have to debug your script yourself. No one here can do this for you because we have no server access. We dont know how your functions checkAnum or checkMail look like. We dont know what exactly you post in the form. We only know your register.php which seems "ok".

  3. failed at this line:

    if ((checkAnum($_POST['account']) && strlen($_POST['account']) >= 8 && strlen($_POST['account']) <= 16) && checkAnum($_POST['pass']) && strlen($_POST['pass']) >= 8 && strlen($_POST['pass2']) <= 16 && !empty($_POST['pass2']) && $_POST['pass'] == $_POST['pass2'] && checkMail($_POST['email']) && strlen($_POST['email']) <= 40 && $_POST['captcha'] == $_SESSION['captcha_id'] && (checkAnum($_POST['deletcode']) && strlen($_POST['deletcode']) == 7)) {

    never saw such an ugly code. Debug all conditions here and you will fix that

    What happens here?

    (checkAnum($_POST['account']) && strlen($_POST['account']) >= 8 && strlen($_POST['account']) <= 16)

    checks if posted "account" has only alpabetic or numeric characters + checks the charakter lengh (min 8 chars, max 16 chars)

    checkAnum($_POST['pass']) && strlen($_POST['pass']) >= 8 && strlen($_POST['pass2']) <= 16 && !empty($_POST['pass2']) && $_POST['pass'] == $_POST['pass2']

    same here for password + check if password is given and the same as password2

    checkMail($_POST['email']) && strlen($_POST['email']) <= 40

    checkMail should be a function to check if this is a valid mail + checks that mail has max 40 chars

    $_POST['captcha'] == $_SESSION['captcha_id']

    Checks captcha

    (checkAnum($_POST['deletcode']) && strlen($_POST['deletcode']) == 7)

    delete code must given + exact 7 chars

     

    Now debug this.

  4. Meh, It would have been great if someone wanted to help with the project but nobody got involved :D

    For a metin2 page it's a great effort what you've done.

    Exynox It's quite hard nowadays to make applications that works out of the box on a shared environment with namespaces, autoloading or even frameworks as all of them needs composer that will not work without a shell access.

    I will help you when changing the framework to flow :) have to use it at work so i can learn a bit more :)

  5. it is not my personal coding style and it wasn't my purpose to write this OOP with a PHP framework or a template engine. The goal was a CMS near Hen!'s with better and newer code for users who love hennink's cms which is used most (even today) . Because its simple for PHP beginner to change things. It would be stupid to implement such things in this. For qualified code you should look or help at this: http://metin2dev.org/board/index.php?/topic/1447-metin2cms/

  6. I get error at sig compare if i try remove that [...]

    First of all: I hope you remove it only for testing this script. If you don't compare the md5 hash, users can use security vulnerability to get coins without checking the Security Hash.

     

    first i tought is because of aplfanumeric id removed the check and still dont work when i try run postback

    You should use "id" for $uid not the "login" column. It cant run without errors if you didnt enabled Alphanumeric

    ids by Super Rewards Support.

     

    after sending only numeric uid use your SQL statement like this example:

    SELECT coins FROM account.account WHERE id='$uid'
    

    edit: Its only speculation because i cant test that script myself but give it a try.

  7.  

     

    Why o have this problem?

     

    ouSCd.png

     

    I looking some tutorials and they say i must install php5-mysql, but when i install them i have this problem:

     

    When open my "link" they download my site.

     

    Jq3kc.png

     

    What i did wrong?

     

    Use a clean FreeBSD, and follow the tutorial and steps. To me it worked perfectly.
     
    You must have software installed that conflict.
     
    Its tested on freebsd 10 and 10.1

     

     

    Do you know why i registe in site and the site dont send any information do db?

    The simple registe page dont sen any information to db...I Dont know why.

     

    There the simple regist page doesnt send information do db..

     

    SmRYf.png

     

     

     

    Code correct? Got an error?

     

    mysql_query($sql) or die(mysql_error());

    • Love 1
  8. I like very much the standard design, is an your creation?

    Yes its all pure CSS. Only the Headerpicture is a render from King Sora's wallpaper.

    I asked him to use it for the cms but he didnt answer me. I think and hope its ok for him. (Screen PM to King Sora:)

    FhOUiIy.png

     

    You're using a framework? (CodeIgniter, ...)

    Nope!

    - I thought about a template engine but I'm convinced that the most people can't  handle it (knowledge problem). It is quite simple for beginners to implement their design with a simple index.php and a default.css like before.

    - I will not use HTML or CSS Frameworks like Bootstrap or Foundation because its easier for the most to implement their designs and element colors by changing only a few lines of an existing CSS file.

     

     

    When you think release it? I'm waiting it!

    I will release it when im done. The Community is sending me new ideas every time and i will implement it all (the good ones) to create a nice CMS.

    • Love 3
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.