RSS

Archive | PHP RSS feed for this section

Enable And Disable Directory Browsing

24. July 2009

Comments Off

Adding and removing Linux server file indexes.

Continue reading...

Adding Expire Headers to Htaccess File

10. June 2009

2 Comments

How to add expire headers to your .htaccess file in order to save you from unnecessary server requests.

Continue reading...

Turning on Gzip Compression

10. June 2009

1 Comment

How to Gzip through the .htaccess file.

Continue reading...

Connecting to a MySQL database

1. January 2009

Comments Off

Simple steps to connect to and extract data from a MySQL database.

Continue reading...

Adding expire tags to your CSS and JavaScript files

1. January 2009

6 Comments

Adding expiration headers to PHP/ASP files.

Continue reading...

ETag Removal

21. November 2008

Comments Off

Simple ETag removal.

Continue reading...

Dynamically Getting File and Website Address

12. November 2008

Comments Off

Getting the current web site's address or the current file location is simple in PHP. Here are a few examples.

Continue reading...

PHP – Where to place your code

29. October 2008

Comments Off

There are a few places where to place your PHP code on your dynamic web page. This all depends on your needs and preference. Of course there is a slight difference to whether you put it on a script tag, before any HTML, within your HTML, or at the bottom of the page. Here I will explain what I have found some of the differences to be.

Continue reading...

Loops: break & continue statements

26. July 2008

Comments Off

Simple and easy to understand explanations of loop, break, and continue statements.

Continue reading...

Loops

25. July 2008

Comments Off

Examples of While, Do While, and For loops.

Continue reading...