PHP file upload (Large Files)
It may happen that your outgoing connection to the server is slow, and it may timeout not the "execution time" but the "input time", which for example in our system defaulted to 60
Read tutorialTHE TUTORIAL LIBRARY
It may happen that your outgoing connection to the server is slow, and it may timeout not the "execution time" but the "input time", which for example in our system defaulted to 60
Read tutorialSolution for the error: Exception in module wampmanager.exe at 000F15A0 in Windows 8
Read tutorialHere 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 th
Read tutorialNest 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 arr
Read tutorial'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 nee
Read tutorialAlthough 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)
Read tutorialHere's something uncommon: How to make one else statement for two nested if conditions? aka: how to make one else for two ifs.
Read tutorialThe following code uses arrays to retrieve all possible substrings in a given string in PHP.
Read tutorialuse() 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 (la
Read tutorialYou can always call protected members using the __call() method - similar to how you hack around this in Ruby using send.
Read tutorialWhen using anonymous functions as properties in Classes, note that there are three name scopes: one for constants, one for properties and one for methods. That means, you can use t
Read tutorialMake an array of two entries where the 0th entry is the name of the class to be invoked ('self' and 'parent' work as well) and the 1st entry is the name of the function. Basically,
Read tutorialOne example today. A better developer tomorrow.