Ana Sayfa / Kod ve Scriptler / Rating System PHP AJAX and SQLite
Rating System PHP AJAX and SQLite
Bu derecelendirme sistemi PHP ile yazılmıştır. AJAX, PHP oturumu ve SQLite kullanır.
- Yayın tarihi27 Temmuz 2015
- Paket içeriği.php, .css, .html, JavaScript .js
- Son güncelleme27 Temmuz 2015
- Canlı demoVar

Overview
Version 1.2
Changes in v1.2: - Improved XML file creation. - Two additional graphic versions.
Description
This rating system is written in PHP. It uses AJAX, PHP session and SQLite. After clicking "the hand", the vote is recorded in file-based database. Your site is not reloading. If you have already voted for this article / post, your vote can not be saved (in this PHP session). Tested in IE, Firefox and Chrome.
Features
- Easy to implement
- No site reloading
- You do not need a database - it is a single file (SQLite Data Base)
- You can change the text displayed to the user
- Nine graphic versions
- You can change the appearance of this (color, height, fonts, etc.) in the css file
Included
- php files in 9 folders - 9 different graphic versions
- in directory "docs" - pdf file how to implement, with image illustration and an example of the implementation
Requirements
- PHP 5.3
- support for SQLite in PHP (it is enabled by default in most cases)
Instructions
How to implement? 1. Download and unpack the zipped files. Select folder with graphic version, that you like, for example "rating_a". 2. Then you must put the folder "gravedgRating" into folder with your website. Your website must have the extension ".php". 3. Put the following lines of code into your site: a) The first line of the code of your page: session_start (); ?> b) In the "head" section: c) In the "body" section, in places where voting should be visible: $ ArticleID = "12345"; include 'gravedgRating/ratingJS.php'; ?> That's all.
See the pdf file how to implement, with image illustration andan example ofthe implementation, in folder "docs".
Each time you calling the script, you must give another identifier ("$ articleID"). "12345" is an example identifier. You can do it in a loop, writing (for example) 10 posts from users.
The text displayed to the user, and path to your database, you can change in "rating.php" file.
There are nine different graphic versions of this script. They are compressed in nine different directories ("rating_a", "rating_b" and so on...). Use the one that you like. In addition, the database is stored the user's IP and time of voting. You can see it using i.e. free program "sqliteAdmin" from Internet.
Benzer ürünler

Canlı sonuçlar, üyelikler, Stripe, PayPal, reklamlar ve eksiksiz bir yönetici paneli içeren, kendi sunucunuzda barındırılan PHP anket platformu.
Yayın: Eylül 2026
PHP ve MySQL ile geliştirilmiş, öğrenci yönetimi içeren eksiksiz ve kullanıcı dostu bir Çevrim İçi Sınav Sistemi
Yayın: Eylül 2026
Kendi sunucunuzda barındırılan PHP oylama platformu: kılavuzlu kurulum sihirbazı, canlı gösterge paneli, PDF/Excel dışa aktarma, e-posta ve SMS uyarıları, sponsor reklam afişleri.
Yayın: Eylül 2026
Otomatik QR kodları, yapılandırılabilir anketler, panolar, CSV dışa aktarma ve beyaz etiket markalama özellikli kendi sunucunuzda çalışan personel geri bildirim uygulaması.
Yayın: Haziran 2026
İki satır kodla istediğiniz PHP sayfasına gömülebilen sınırsız anket oluşturun. Veritabanı yok, framework yok — yükleyin ve başlayın.
Yayın: Haziran 2026
Dünyada istediğiniz değişikliği gerçekleştirmek için dilekçe ve anketler oluşturun.
Yayın: Aralık 2024