We have 14 guests online
   
PHP Scripts arrow Free PHP Tutorials arrow Free PHP Tutorials 
 
Search
Results 21 - 30 of 30
Display #

21. Returning multiple values from a function
(PHP Tutorials and Examples/PHP)

Demonstrates how to return multiple values from a function using arrays and list().

16/02/2007 | 409 Hit(s) | (0 vote) | Read more...

22. Demonstrating array_intersect() - finding common values across many arrays
(PHP Tutorials and Examples/PHP)

array_intersect() takes two or more arrays as arguments. The  function returns an array of "intersections", or identical values that are present in each of the other arrays. Note that keys are preserved.

 

16/02/2007 | 438 Hit(s) | (1 vote) | Read more...

23. Exploring the FTP functions
(PHP Tutorials and Examples/PHP)

A simple script that demonstrates how the FTP functions can be used
16/02/2007 | 466 Hit(s) | (0 vote) | Read more...

24. Hit Counter
(PHP Tutorials and Examples/PHP)

A simple hit counter using a file

16/02/2007 | 919 Hit(s) | (3 votes) | Read more...

25. Converting URLs to anchor tags
(PHP Tutorials and Examples/PHP)

Using preg_replace to convert non-anchored URLs into HTML hyperlinks.

16/02/2007 | 450 Hit(s) | (0 vote) | Read more...

26. RandomLib
(PHP Tutorials and Examples/PHP)

This class can be used to pick a random item from a collection.

It can add to a collection of items that can be values of any type: strings, numbers, objects, etc.. Each item may have a probability weight.

The class can pick one or more random items from the collection. When picking multiple items it may allow repetition of the same item or assure that all the picked items are unique.

It can also pick random items considering their probability weight, so those with greater weight are more likely to be picked.

16/02/2007 | 348 Hit(s) | (0 vote) | Read more...

27. Check if a number is odd or even
(PHP Tutorials and Examples/PHP)

Using PHP's bitwise And operator (&), we can check to see if the 1-bit is on or off. If it's on, we have an odd number, otherwise, an even number. We can also accomplish the task by using the modulus operator.

16/02/2007 | 9656 Hit(s) | (10 votes) | Read more...

28. Mysql Open/Close Connection Scripts
(PHP Tutorials and Examples/PHP)

This script contains the easiest mysql connection ever.

16/02/2007 | 559 Hit(s) | (1 vote) | Read more...

29. URL Validation
(PHP Tutorials and Examples/PHP)

Check that a URL or website address is valid using preg_match().

16/02/2007 | 747 Hit(s) | (2 votes) | Read more...

30. Cycling through an array of names with foreach
(PHP Tutorials and Examples/PHP)

Using the foreach construct to cycle through an array.

16/02/2007 | 698 Hit(s) | (0 vote) | Read more...

<< Start < Prev 1 2 3 Next > End >>
  
Top

Directory Stats

There are 693 listing and 43 categories in our website

Change Language

Credit Cards
Cheap Car Insurance
Loans
Debt Consolidation
Mortgages