HomeContactLinks

Computers are still a somewhat blackart to many people. Often, where it exists, the documentation can be impenitratable and few geeks want to change that. Its the old job security concept. I want to change that.

In this site you will find articles and links on various subjects; mostly Linux, Open Source and Programming related, but not exclusively. If you have any suggestions for articles or require expansion of any points in the articles, please feel free to contact me at this email address and I'll try to accommodate you.

Passing variable numbers of arguments to functions

By Flib

2009-05-20

Category: PHP

Recently a visitor in my IRC channel came in with an odd problem. He needed to send a variable amount of arguments to a function. The function wasn't under his control, so he was unable to pass an array to it and parse it within the function itself.

PHP as far as I can tell has no easy way to do this. This short article explains one method to accomplish the task.

Dynamic Buttons with GD and PHP

By Flib

2009-05-20

Category: PHP

On many sites its very difficult to predict exactly which graphics you might need. One answer is dynamic buttons.

Creating business cards with FPDF and PHP

By Flib

2009-05-19

Category: PHP

When I need to create business cards or similar documents, I frequently head for the text editor and knock out a small app. This is one such application.

php_value, php_flag, php_admin_value, php_admin_flag

By Flib

2009-05-18

Category: PHP

If you change almost any of the PHP setting in php.ini then you affect all vhosts on the server. This can be a bad thing. Scripts may break and functionality may change.

Luckily, there is a more fine grained solution if you are running PHP as a module.

Elevating priviledges from webscripts

By Flib

2009-05-04

Category: PHP

Often you will find yourself on a server where permissions are restrictive.

In this article, I try to explain a few of the options

Using Cookies Across Subdomains

By Flib

2009-05-04

Category: PHP

Most sites, if they use cookies, use a single domain the whole time. Not all do.

For these domains an understanding of how sessions and cookies work and what needs to be changed is useful.

Using updated currency rates

By Flib

2009-05-04

Category: PHP

Often you have a need for up to date information, but rarely can find it for free. Exchange rates are a common need and a closely guarded secret by some developers.

In this article, I show you how to use exchange rates for conversion and where to get them from.

Making Friendly URLs

By Flib

2009-05-04

Category: PHP

How do you make your urls more readable both to humans and web crawlers? In this article, we look at some of the options.

©2009 AskFlib.com

Powered by TMI-CMS and Technomonk Industries