By: micronix @ gmx . ne : 2012-12-05
Description: I have found the Solution for Resume or Pause Uploads. In this Code Snippet it is the Server Side not Client on any Desktop Program you must use byte ranges to calculate the uploaded bytes and missing of total bytes.
By: Emiley J : 2012-11-20
Description: Solution for the error: Exception in module wampmanager.exe at 000F15A0 in Windows 8
By: Kani : 2012-04-05
Description: Here is another simple example for - for loops. Thsi PHP code shows how to search for a particular character in a String and count the number of occurrences of that character in that string.
By: Anonymous : 2012-04-05
Description: Nest for loops are used for handling many difficult situations such as Matrix, Recursion etc..In this example, it is shown how nested for loops are useful for outputting a data array into a table (ie. images). Additionally in this example, the Nested For Loop uses the same iterator as the parent for loop. Well formatted so the resulting code is clean when executed.
By: Cory Christison : 2012-04-05
Description: 'while' can do wonders if you need something to queue writing to a file while something else has access to it. This method is not recommended for use with programs that will be needing a good few seconds to write to a file, as the while function will eat up alot of process cycles. However, this method does work, and is easy to implement. It also groups the writing functions into one easy to use function, making life easier.
By: Marcin : 2012-04-04
Description: Here's something uncommon: How to make one else statement for two nested if conditions? aka: how to make one else for two ifs.
By: Strata Ranger : 2012-04-04
Description: Although most programmers are aware of this already, if for whatever reason you need to 'break' out of an if() block (which, unlike switch() is not considered a looping structure) just wrap it in an appropriate looping structure, such as a do-while(false):
By: Lukman : 2011-11-17
Description: The following code uses arrays to retrieve all possible substrings in a given string in PHP.
19. use() in PHP
By: Anonymous : 2011-10-29
Description: use() parameters are early binding - they use the variable's value at the point where the lambda function is declared, rather than the point where the lambda function is called (late binding).
20. __call() in PHP
By: Rob : 2011-10-29
Description: You can always call protected members using the __call() method - similar to how you hack around this in Ruby using send.