Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Thursday, June 23, 2016

Creating a file based log system

If we have a website we would certainly want to know the impressions of our website visitors. 

In addition to knowing about information of visitors, a log file is also useful to help analyse the security.

I will go directly to explain the log system file in PHP script: 

<?php 
// checking the bowsers type 
$agent = $_SERVER [HTTP_USER_AGENT]; 

// * checking where the script is executed from -- GET (URL) 
$uri = $_SERVER [REQUEST_URI]; 

// * checking visitors IP 
$ip = $_SERVER [REMOTE_ADDR]; 

/ * checking where the script is referred from 
$ref = $_SERVER [HTTP_REFERER]; 

// * checking visitors proxy
$original = $_SERVER [HTTP_X_FORWARDED_FOR]; 

// * checking visitors connection 
$via = $_SERVER [HTTP_VIA]; 

// * variable date 
$dtime = date (r); 

// * note if  visitors use transparent Proxy 
// * Then the $_SERVER [HTTP_X_FORWARDED_FOR] will display the visitors IP 
// * otherwise $_SERVER [ REMOTE_ADDR] will display the Proxy 
// * For clear about Proxy i will explain in another tutorial 

// * This is a description of variable entry_line: 
$entry_line = "Time: $dtime | Original IP: $ip | Browser: $agent | URL: $uri | referrer: $ref | Proxy: $original | Connection: $via 
";   // * <- Attention! This must be a new line or you press enter to create a new line 

/ * "fopen ()" function for opening files, "a" is the most important.!, 
/ * This works if the file "trace.txt" does not exist in the server then PHP will create 
$fp = fopen ( "trace.txt", "a"); 

/ /* "fputs ()" function for writing into the log file 
fputs ($fp, $entry_line); 

// * "fclose ()" function to close the file 
fclose ($fp); 

?> 

This file based log system using php function is pretty useful instead of using mysql connection

Saturday, June 18, 2016

TinyCMS A Content Management System PHP Script

TinyCMS PHP Script is pretty much a page content management system with a fancy front-end page loader.

 Installing TinyCMS

To install TinyCMS php script, upload the files to your server and youre ready to roll. Visit YourSite.com/admin/ and use the default login details. The default username is admin and the default password is pass.

Changes to file locations
Note for existing themes. Weve moved the JS files from yoursite.com/js to yoursite.com/admin/js to clean up the directories. If youre using a theme from our website, ensure the directories are correct or the site may not work correctly.

Download TinyCMS -A Content Management System In PHP

Wednesday, June 8, 2016

Simple Login and Signup System using PHP and MySQLi

hello friends, we have this tutorial but some users want it using MySQLi extension, so i have decided to post Login and Registration System using PHP with the improved MySQLi. it's a simple script which you can easily understand. for the designing purpose i have used here bootstrap to create login and signup form which is simple and easy to create with the help of bootstrap, if you are using PHP5.5 then you must use new password hashing function, you can see it how to use them here in this tutorial, Login script with MySQL so let's take a look.
Simple Login and Signup System with PHP and MySQLi
Read more »

Thursday, June 2, 2016

Frog CMS A Content Management System In PHP

What is Frog CMS?

Frog CMS php script simplifies content management by offering an elegant user interface, flexible templating per page, simple user management and permissions, as well as the tools necessary for file management. Born as phpRadiant in January 2007, Frog CMS is a PHP version of Radiant CMS, a well known Ruby on Rails application. Although the two applications still share a family resemblance, Frog is charting its own development path.

Frog requires PHP5, a MySQL database or SQLite 3 with PDO, and a web server (Apache with mod_rewrite is highly recommended). It is distributed under the GNU General Public License version 3. The source is available from Frog’s Google Code project page.

Frog is unique because of its simple templating code. Because it uses PHP directly, there is no need to learn yet another scripting language. This approach has two main advantages:

    Normally, PHP is not used in article pages, so it does not frighten the writer who does not want to learn it.
    The webmaster/designer of the site, the one who will code some basic condition or/and loop to add more dynamics to the website, generally knows some PHP already — at least enough to add some dynamic latest news part, latest articles, photo gallery, etc…


Features

Unlimited hierarchically structured page navigation menu

The page navigation menu provides critical information and functions. It allows you to perform quickly common actions on pages and shows how information has been organized.

Drag and drop page ordering

This function simplifies the organization of your site’s pages. It makes new sorting arrangements of pages possible.

Flexible page content: body, sidebar, extended, summary

Each page can have its own customized parts (divisions). It can be ‘extended’ text for news, or ‘summary’ for article: you can define whatever you want, whenever you want. These can even be used for extended metadata fields.

Per page layout customization

Pages can have their own layout, or can inherit the layout of the parent page, or they can reuse another page layout. This allows the site owner to make every page look exactly as desired.

Simple and reusable content snippets

You can define ‘snippets’: small pieces of content used across several pages, like page headers or footers, or contact info, etc. This means less cut-and-paste text in your pages. This will reduce your modification time when you need to add, remove or change the text in it.




Other Features

  • Password protected administration
  • Simple user and permission management
  • File manager (plugin) allows you to upload, browse and edit files

Download Frog CMS -A Content Management System In PHP

Wednesday, May 25, 2016

Simple Image Gallery Image Gallery Management System In PHP

Simple Gallery is an easy to use image gallery management system written in PHP and utilizes jQuery, MySQL, and the GD Library. It allows multiple categories and subcategories as well as image hit / download tracking and a built in installer. Also, the latest version adds support for Thickbox displaying of images when downloading.

Requirements
  •     PHP 5+ -http://www.php.net
  •     GD Library – http://www.libgd.org
  •     MySQL – http://www.mysql.com

Installation
  •     Open “inc/config.php” and modify the settings to your liking
  •     Do Not Run the “install.php” script before doing the above
  •     To use an existing mysql database, just set “$db” in “inc/config.php” to the DB name you wish to use
  •     If the DB name you specify in “$db”, the install.php script will attempt to create it for you.
  •     3 database tables will be added to your DB name above “freephp_gallery, freephp_gallery_admin, freephp_gallery_category”
  •     The directory you specify for “$base_dir” should be chmod to 777 (full permissions)
  •     When you are sure your settings are correct, run the “install.php” file
  •     You will be asked to create your admin username and password on the install.php page
  •     After completing the install, REMOVE “install.php” (running this again will remove any data from your Simple Gallery tables)
  •     Run “login.php” to login as the admin username and password you setup so that you may start using Simple Gallery

Download Simple Image Gallery PHP Script

Monday, May 16, 2016

Maxs News System PHP Script A News Management Tool In PHP

Maxs News is a PHP based news management system. This script is ideal for smaller websites.

Maxs News System is a news management tool with a built in WYSIWYG editor. The installation is very easy, you only need to upload it to your web server. The scripts stores the news in files on your web server, so no database is required. The only requirement thet your hosting provider needs to support PHP. The script uses CSS so changing the style is very simple.


Download Maxs News System PHP Script

Thursday, May 5, 2016

PHP Layers Menu A Hierarchical Menu System In PHP

 PHP Layers Menu php script is a hierarchical menu system to prepare "on the fly" DHTML menus relying on the PHP scripting engine for the processing of data items.

It is released under the GNU Lesser General Public License (LGPL), either Version 2.1, or (at your option) any later version.

It supports a wide range of browsers: Mozilla, Konqueror, Netscape, Safari, Opera, Internet Explorer; rather old browser versions are supported, too; accessibility is provided for text-only browsers.

It achieves a compact layout and a compact output code also for menus with a large number of entries.

It provides horizontal and vertical layers-based menus whose behavior is analogous to menus of commonly used GUI-based applications. It also provides JavaScript-based tree menus, whose look is analogous to the most widely used file managers and bookmark handling tools.

Note: SiteBar can act as a backend for PHPLM; visit the SiteBar web site for details.

Layers-based menus require JavaScript and work at least on the following browsers:

  •     Mozilla 0.6+ (versions 0.9.2+ are suggested)
  •     Netscape 6.0+ and other browsers based on Mozilla, e.g. Epiphany and Galeon
  •     Konqueror 2.2+ and browsers based on it, e.g. Safari
  •     Opera 6.x for Linux
  •     Opera 7.x
  •     Internet Explorer 5, 5.5, 6.


The PHP Layers Menu System also provides JavaScript-based tree menus, whose nodes can be expanded and collapsed on sufficiently DOM-compliant browsers (they remain completely expanded for the other browsers). They have more strict requirements w.r.t. the layers menus and provide complete functionality only to browsers sufficiently DOM-compliant for the purpose at hand, i.e.:

  •     Mozilla (versions 0.9.2+ are suggested)
  •     Netscape 6.0+ and other browsers based on Mozilla, e.g. Epiphany and Galeon
  •     Konqueror 3.0+ and browsers based on it, e.g. Safari
  •     Opera 7.x
  •     Internet Explorer 4, 5, 5.5, 6

The following browsers are not supported, as supporting them is either not possible at all or really too hard:
  •     Netscape 4.x
  •     Konqueror 2.x
  •     Lynx and Links
  •     Opera 5.x and 6.x

However, full accessibility is provided for the above browsers: the Tree Menus always appear completely exploded (and no node can be collapsed) on them, and this guarantees a rather good accessibility for them.

 An arbitrary number of vertical and horizontal menus can be used on the same page.

As much levels as needed can be used and each menu is dynamically generated using data retrieved from a file, a string, or a database table; the data format is rather simple and intuitive.

Multiple languages are supported (i18n) if data are retrieved from a database.

PHPLM is compliant with current recommendations for PHP developers: it works correctly with the following settings
  •     register_globals = Off
  •     safe_mode = On
  •     error_reporting = E_ALL
  •     allow_call_time_pass_reference = Off
  •     short_open_tag = Off

To use the DB support, PEAR DB is required; obviously, if the open_basedir restriction is in effect, PEAR must be installed somewhere inside the allowed path.

PHPLM is compliant with the following web standards:
  •     XHTML 1.0 Transitional
  •     CSS 2.0
Download PHPLM- Website Navigation System In PHP

Monday, April 25, 2016

One Office One Drawing Officer System

Update: One Office One DDO-Step by step instructions to Generate bills of Gazetted Officers by DDO Published. Read more.

Government have introduced One Office One Drawing Officer System in the state in a phased manner from 15/09/2015. The drawal and disbursement of salary and other entitlements of all staff members including Gazetted officers in an office is entrusted with the respective DDO of that office. 
The treasuries shall not accept the bills prepared by Gazetted officers from the date specified in the below order.The DDOs shall prepare seperate salary bills one for non gazetted officers and the other for gazetted officers both in the modified TR 51 bill form.
The Gazetted officers shall make available a copy of their latest pay slip to the DDO of the office in which they are now working to prepare their salary claims. After 01/12/2015, the bill generation facility provided for self drawing officers in SPARK will be filly withdrawn.
The new system will be put into operation in a phased manner as detailed below. Finance Department in Government Secretariat(from 15/09/2015). All offices under Sub Treasury, Secretariat(From 01/10/20 15). All offices under District Treasury, Thiruvananthapuram(From 01/11/2015). All departments and offices in the State(From 01/12/2015). Click the below link for govt order G.O.(P)No. 391/2015/Fin. Dated, Thiruvananthapurarm, 07.09.2015.
One Office One DDO. Govt Order 
IFMS- One Office One Drawing Officer System-Step by step instructions toGenerate bills of Gazetted Officers by DDO
IFMS- One Office One Drawing Officer System-Introduced. GO (P) No.391/2015/Fin Dated 07/09/2015, Annexure and New TR 51 Form

Friday, March 25, 2016

Online Leave Management System in SPARK

Update: All are informed that after 01.02.2016, the online leave application alone will be available in SPARK. So any previous leave details and service history  to be updated may be done before that.

An employee can apply any type of leave online. Those having a login account can apply using appropriate menu available in the SPARK,those not having login account in spark can apply using the link available in the login page of spark. In such case mobile authentication will be used through one time password. Officials having Leave Processing Privilege can process /sanction leave of employees. For details how to use the online leave management system, see the pdf below. 
Downloads
Online Leave Management System in SPARK- User Manual(Help File)  
One Office One Drawing Officer-User Manual and GOs.