It is a simple engine for the login form handler. I’ve been making it for a long time, but this is the first time it has been published. Created using PHP and the ajax framework using jQuery, equipped with the jQuery Form Plugin.
dreLogin V.1.0
Even though it once existed, the jQuery login form has a difference, which is that the programming structure is easier to understand. Sessions are not registered with a merge array, so it is easier to call their values while on the admin page. No need to use extra JS too much, because it has fully adopted the functionalities provided by the jQuery Form Plugin. Which allows us to capture variables in the Ajax HTTP Response with the Value $ _POST / $ _GET
What I mean without the need to use extra JS is excessive, with jQuery Form we don’t need to use JS Extra to handle Message Responses, in the form of “empty username”, wrong password, etc. All of them can be used as dynamic variables in the PHP form action.
Use and modification is subject to Creative Common Laws License 3:
http://creativecommons.org/licenses/by-sa/3.0/
The use of dreLogin is very simple, first open config.php which is in the outermost directory of the RAR package, change the settings according to the web server:
<?php /* * dreLogin V.1.0 * * Copyright (c) 2009 Hairul Azami [a.k.a dr.emi] (www.dremi.info) * Licensed under the creativecommons Attribution-Share Alike 3.0 Unported * http://creativecommons.org/licenses/by-sa/3.0/ * more info of licenses: https://www.dremi.info/wwwtips.php?cID=72 * * Date: Jan 27 2009 */ if(!defined('_VALID_ACCESS')) die('direct access is not allowed.'); # config system define("_HOST", "localhost"); define("_USER", "dremi"); define("_PASS", "terusberjuang"); define("_DBASE", "ujicoba"); define("_PATH", "/dreLogin1/"); define("_ADMIN", "/dreLogin1/"); ?>
Penjelasan: _PATH merupakan base path untuk folder dreLogin
sedangkan _ADMIN merupakan path target setelah user berhasil login
mas dremi aku pengen buat website yang tampilannya seperti oneNote pada ms office 2007, bisa atau tidak?
apa yang harus saya lakukan…?
oya satu lagi saya awam banget tentang dreamweaver, php js atau semacamnya… adakah penjelasannya?
@ rahmat ilham
pertama adalah mendesign di photoshop / tool kesukaan lu, lalu editing layout di dreamweaver atau tool lainnya, baru deh koding terakhir
@ rahmat ilham
penjelasan PHP, dreamweaver, js, css, ada penjelasannya, silahkan kunjungi forum http://dremi.info/forum
dr. Emi.. itu klo jQuery nya diupdate ke versi baru, program nya tidak jalan.. kira2 apa yg harus dirubah ya? makasih..
@Lucky Mahrus
Tunggu versi terbarunya diluncurkan … wkwkwkwkkw 😀
Kalo yang udah berjalan, ada versi terbarunya di sini: http://digilib.dremi.info
permisiiii,,, hehe
mau langsung tanya aja , , ,
om ko gw ga bisa login sih?
maaf klo salah tempat , , ,
@aby
ya ga bisa donkg brooo itu kan bukan bwat login member, tapi bwat demo dowank, bukannya udah ada tuh, link demo dan user passnya…
Oke …keren..mantap…Thank’s dremi…
maz..ak dah coba neeh tutor ni…
jalan c jalan cuman ada warning kaya gini :
Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
PHPku versi 5.2.8 n register global off..
hehehhee…nyerah dech klo aku suruh utak atik jQuery…^^V
“Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0”
terjadinya eror seperti tersebut dikarenakan register_global off
untuk memperbaiki buat file .httacces di dalam folder drelogin1 dan tambahkan script berikut :
php_flag register_globals on
semoga membantu 😀
@hariz
liat disini aja solusina:
https://www.dremi.info/tutorials/jquery/drelogin-v20-has-release.html
@gunawan
sudah dibahas sebelumnya, thanks 🙂