Miscellaneous

Results 1 - 20 of 160

Sort by:

Dynamic CSS with PHP

Need to generate style sheets dynamically with PHP to keep presentaion logic together or create environment aware style sheets with PHP and JavaScript? This tutorial shows you how!

  • Price: Free
  • Views: 1,423

Make your own twitter poster

Using curl, php, and twitters API it's very easy to make your own on-line twitter poster.

  • Price: Free
  • Views: 68

Web services in php and authentication of web services.

This article is about how to create web service in php and how to authenticates the client request.

  • Price: Free
  • Views: 34

How to Count all elements in an array

PHP Count function can count all elements in an array, or properties in an object. Counting an array gives us array kength which is umber of elements it contains.

  • Price: Free
  • Views: 15

Limit Characters From Text

This php script helps you limit displaying characters form you message.

  • Price: Free
  • Views: 25

Code Formatting and Coloring

There are different methods and plugins you can implement to display code on your WordPress blog. After much testing and frustration, I’ve come across the best code formatting method that does not require a WordPress plugin (and can be implemented on...
(show more)

Creating a BBCode Parser

Have you ever wanted to implement BBCode, the special formatting codes used by forums, into your own PHP scripts? Well, it's actually pretty easy to accomplish using some simple regular expressions and the preg_replace PHP function. This mini-tutorial...
(show more)

  • Price: Free
  • Views: 322

PHP Redirect Tutorial

This tutorial will demonstrate how to use PHP to perform a redirect. The PHP header function will be used to send the HTTP headers required to perform the redirect.

  • Price: Free
  • Views: 102

PHP Array Tutorial

This tutorial will demonstrate how to use arrays in PHP, with code examples of all fundamental array operations.

  • Price: Free
  • Views: 42

PHP validation and verification

This is one the trickiest parts of any application at all. Why is that? Because the developer doesn't control it. You can write the best algorithm in the world, but still if it includes user input there is a place for mistakes. Even if we put some...
(show more)

  • Price: Free
  • Views: 761

Examples of the preg_match function

The preg_match function of Php is often used and the online script here includes few examples which can be implemented in any code. There is an online demo. The code will be updated regularly. - just added a preg_match_all example

  • Price: Free
  • Views: 1,395

Use mod_rewrite to create subdomains like URLs

You might have noticed some sites having their URLs written as if they were different subdomains of the same domain. You can do this without creating the actual subdomains, using Apache mod_rewrite. Read this tutorial to learn how!

  • Price: Free
  • Views: 104

Add suffix to a number

Add st, nd, rd and th suffix to numbers dynamically

  • Price: Free
  • Views: 55

JavaScript Object Constructor

Object oriented programming (OOP) is often preferred by developers who wanted to push the boundaries in the client side application. If the requirements are placed in the client side like strong internet connection and browser compatibility, developers...
(show more)

  • Price: Free
  • Views: 83

Random image from folder with PHP

If you need to put a random banner up or just a random image on your homepage/subpage then this little piece of code is for you! It will grab an image from the folder you specify and show it on the page. Every pagerefresh will make it pick another.

  • Price: Free
  • Views: 271

The real world datagrid the OOP way

Tutorial about implementation of real world datagrid component using the techniques of object oriented programming and MVC design pattern.

  • Price: Free
  • Views: 155

Observer pattern in PHP

Observer pattern is one of the most powerful design patterns. Whole application can be build based on it. This tutorial demonstrates its possibilities.

  • Price: Free
  • Views: 83

List images in a folder with php

After i needed something like this for myself i decided to make a page of rit so that other people who need it can use it too. This little code will basicly list every image in a folder using php. You can alter it in every way you can/want.

  • Price: Free
  • Views: 748

A quick tutorial in .htaccess

Apache's .htaccess allows a wide range of useful web server behaviours to be implemented, the most popular of which are provision of custom error pages, and password protection of directories. This tutorial gives a brief lesson in how to implement these...
(show more)

(5.00 out of 5) from 4 Ratings

  • Price: Free
  • Views: 3,487

Count files in a folder with php

If you need to count files in a folder using PHP then this little piece of php is just for you. Easy to add and change.

  • Price: Free
  • Views: 262
<< previous
 ( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8next >>