Categories


Archive for the ‘PHP’ Category

Session Authentication

One problem in creating a PHP Session Authentication is that when you are logged in and suddenly logs out and click the back button you will be returned to the page where you kast visited.   Isn’t this a problem especially when you have important data in that page.  So if you have problem with this let me share a code that will surely eleminate the problem.  In this code there is no need for javascripts to disable the back button(what

Continue Reading

2 Comments

File Extension VOB

Yesterday I was walking on the mall and I saw this movie, it was entitled The Knowing.  When I got home I searched for the movie over the net and I saw the trailer and it was something that I should see.  It tells about how the feature will be if we keep this foolishness that we are doing.  I love the environment so much that it hurt me a lot of what it has become now.  I bought a

Continue Reading

No Comments

PHP Displaying On the Browser

When its your first time to code HTML , the tendency of opening the file is by clicking it twice and yes the expected result is displaying.  And from that point on, they can view their web page/website as it was intended to be viewed.  Above image is one example of an HTML file viewed by double clicking on the file. But when you have a web server things are different. Last night I have this friend who was programming

Continue Reading

No Comments

PHP Compare Date

I was creating a program for a library and that is to have a system that will manage the borrowing of books. I was searching the net about comparing date in PHP. One good application for this PHP snippet about comparing a date is that when the date filled is an invalid date range(e.g. the date of borrow is greater than the date of return) or should I say wrong date input. When I searched the net the resources was

Continue Reading

No Comments

Code Igniter Installation and First Run

Code Igniter is an PHP Application Development Framework – a toolkit for PHP developers. The main goal of Code Igniter is to enable developers to develop projects much faster than they could have done ( if they have started from scratch) by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. You can download Code Igniter from http://www.codeigniter.com/ How to Install: 1. Download the zip file

Continue Reading

6 Comments

Smarty Template Engine for PHP

Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person. For example, let’s say you are creating a web page that is displaying a newspaper article. The article headline, tagline, author and body are content elements, they contain no information

Continue Reading

No Comments

Unexplained Activities on Computers

Does your hard-drive or network-activity light flicker for no apparent reason? While there may be a legitimate reason for it, this could also be a sign that a virus or a hacker’s back-door program (a devious little program that allows secret access without your permission) is running on your computer. You might be donating some of your computer resources to a hacker and be largely unaware of it. Here are some examples of what could be going on if a

Continue Reading

No Comments

Page 3 of 3123

Rss Feeds