Web

HTTP Authentications using PHP

Posted on by Fadıl

The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache …

Continue reading

How To Set A Cookie

Posted on by Fadıl

What’s a cookie you ask? Cookies are little pieces of text that are sent to a user’s Web browser. Cookies can help you create shopping carts, user communities, …

Continue reading

How to Improved Caching with PHP

Posted on by Fadıl

Introduction In the last Code Gallery Spotlight, we examined a PHP class that performed very simple data caching. This time around we are going to explore the …

Continue reading

Displaying an RSS feed with PHP

Posted on by Fadıl

Introduction RDF Site Summary documents, or RSS, are an easy way to syndicate content onto your web site. More and more web sites are offering RSS feeds of …

Continue reading

A Simple Web Search Engine

Posted on by Fadıl

Every user expects a search engine on any Web site they visit. Unfortunately, search engines are extremely complex to develop. They require massive amounts of …

Continue reading

How to Session Authentication

Posted on by Fadıl

Web site authentication applies to most Web sites on the Internet. Implementation of authentication schemes, however, can vary significantly from one site to …

Continue reading

Error Handling in PHP Part-I

Posted on by Fadıl

Introduction If you’re a developer, I’m sure you’ve experienced an error message in PHP. In fact, you should be quite familiar with the standard error message …

Continue reading

How to Fake the http Refferer

Posted on by Fadıl

This is used in some scripts to check for security. You mustn’t use this as a security check, as it is very easily spoofed. See here for how to secure your Perl …

Continue reading

How Web Pages Are Hacked

Posted on by Fadıl

Stopping the most common attack: Ok well, one of the easiest ways of getting superuser access is through anonymous ftp access into a webpage. This can easily be …

Continue reading