Category

Programming

You are now browsing the posts filled under Programming.

Sava’s Random Quote

Sava's Random Quote

Quotes are stored in a text document. Just include the quotes.php file wherever you want to display random quotes on your website and you are done. Inserting your quotes: – HTML can also be used with your quotes. – To enter another quote in the text file hit enter. – you can use as many […]

Sava’s Password Protect

Sava's Password Protect

Sava’s Password Protect Script offers it’s users the option to password protect the pages that others aren’t supposed to see. Just edit the file and set your login and password and then just include the file on every page you want to have a password. You can also choose that the script will request just […]

Sava’s Link Manager v2.0

Sava's Link Manager v2.0

Features Easy to use admin panel (edit/delete/add links) Cool display – can be integrated into any website Link counter – displays how many times a link was clicked Users are able to submit links themselves, but are shown only after admin approval Shows a links description also if you enter one so your visitors know […]

Sava’s Simple CSS Switcher

Sava's Simple CSS Switcher

Simple PHP script to change the css file of your website. It can handle unlimited number of css files. The users choice is stored in a session variable so the css theme won’t change until the user switches to another. Read me file included in the archive. With the script you can easily have more […]

Sava’s Contact Form

Sava's Contact Form

Features very easy to install and use captcha to prevent spam protection very easy to style and integrate into your existing website Preview | Download (2.98KB) ( 3207 downloads )

Display the time passed in any format you want

If you use digg you probably noticed that they displayed the time passed since a comment has been posted in the following way: To obtain a rezult in this format we will use the function strtotime. This function counts the seconds that have passed since the 1st of January 1970. In order to obtain the […]

Captcha – The simplest way to make it

A big problem today is spam. The best way to combat spam is Captcha. Captcha makes the difference between a computer and a human being. Computers cannot read the text in a picture and this is why we’ll use a photo too.   Let’s start by creating the file captcha.php. This file will create a […]

20 Things Programmers Say When Something Is Not Working

20. That’s weird…. 19. It’s never done that before. 18. It worked yesterday. 17. How is that possible? 16. It must be a hardware problem. 15. What did you type in wrong to get it to crash? 14. There is something funky in your data. OR It’s a data problem, not a program problem. 13. […]

Student Suspended Over Suspected Use of PHP

Topeka, KS – High school sophomore Brett Tyson was suspended after teachers learned he may be using PHP. A teacher overheard him say that he was using PHP, and as part of our Zero-Tolerance policy against drug use, he was immediately suspended. No questions asked, said Principal Clyde Thurlow. We’re not quite sure what PHP […]

GuestBook v2.0 Updates

After a lot of emails asking for help on installing and making the GuestBook v2.0 work I decided to update it’s code so that it will work on any server and not depend on register_globals anymore. And yeah … now it doesn’t which means that all you have to do is to upload it, run […]